-
Notifications
You must be signed in to change notification settings - Fork 3
WidgetService
Ben Cuan edited this page Sep 9, 2017
·
1 revision
app/grid/
1.0.0 by dbqeo
Connects the Widget Database with the rest of the app. Currently, the array resides in widget-db but will be dynamically served from a true database in a future update.
getWidget(id: number) : Widget
Returns the widget with the given ID number.
/** @param {number} id - The ID of the widget to be retrieved. **/getWidgets() : Widget[]
Returns the contents of the 'widgets' array that are not hidden.