VendorList
Extends:
Constructor Summary
| Public Constructor | ||
| public |
constructor(props: *) constructor of class VendorList |
|
Member Summary
| Public Members | ||
| public |
state: * |
|
Method Summary
| Public Methods | ||
| public |
bookmark(key: key) sets the bookmarks from the database. |
|
| public |
called after dom elements is mounted, set focus on search bar |
|
| public |
called before dom elements is mounted, fetching user list |
|
| public |
fetches bookmarks |
|
| public |
jsonToArray(json: object): Array converts json object to an array of its contents |
|
| public |
removeBookmark(bookmarks: *) removes bookmarks {params} bookmarks - information of bookmarks |
|
| public |
removebookmark(key: key) removes the bookmarks from the database. |
|
| public |
render(): html renders the display for the current page. |
|
| public |
searchUpdated(term: string) update search team after user input |
|
| public |
setBookmarks(bookmarks: *) sets bookmarks {params} bookmarks - information of bookmarks |
|
Public Constructors
public constructor(props: *) source
constructor of class VendorList
Params:
| Name | Type | Attribute | Description |
| props | * |
Public Members
public state: * source
Public Methods
public bookmark(key: key) source
sets the bookmarks from the database.
Params:
| Name | Type | Attribute | Description |
| key | key | information on bookmarks |
public jsonToArray(json: object): Array source
converts json object to an array of its contents
Params:
| Name | Type | Attribute | Description |
| json | object | takes a json object |
public removeBookmark(bookmarks: *) source
removes bookmarks {params} bookmarks - information of bookmarks
Params:
| Name | Type | Attribute | Description |
| bookmarks | * |
public removebookmark(key: key) source
removes the bookmarks from the database.
Params:
| Name | Type | Attribute | Description |
| key | key | information on bookmarks |
public render(): html source
renders the display for the current page. displays courses
Return:
| html | if there is a courselist return the list |
public searchUpdated(term: string) source
update search team after user input
Params:
| Name | Type | Attribute | Description |
| term | string | pass a search term |
public setBookmarks(bookmarks: *) source
sets bookmarks {params} bookmarks - information of bookmarks
Params:
| Name | Type | Attribute | Description |
| bookmarks | * |