Skip to content

WidgetService

Ben Cuan edited this page Sep 9, 2017 · 1 revision

Directory

app/grid/

Contributors

Latest Update

1.0.0 by dbqeo

Description

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.

Methods

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.

Clone this wiki locally