Interface: MList

MList

Extends

Methods

get(name) → {Object}

Gets the value of the specified property.
Parameters:
Name Type Description
name String The name of the property.
Inherited From:
Returns:
- The property's value.
Type
Object

getId() → {ID}

Returns the ID of the widget.
Inherited From:
Returns:
- The ID of the widget
Type
ID

getItems() → {Array}

Gets the items in the list.
Returns:
- Array holding all of the Lists items.
Type
Array

getRecords() → {Object}

Gets the items in the list.
Returns:
- Promise containing all of the Lists items.
Type
Object

getValue() → {Object}

Returns the widget's value.
Inherited From:
Returns:
- The widget's value.
Type
Object

hide()

Hides the widget.
Inherited From:

isEnabled() → {Boolean}

Returns true if the widget is enabled.
Inherited From:
Returns:
- True if enabled, otherwise false.
Type
Boolean

refresh(opts)

Refreshes the list.
Parameters:
Name Type Description
opts Object Optional object used to configure the refresh.

refresh(opts)

Refreshes the list.
Parameters:
Name Type Description
opts Object Optional object used to configure the refresh.

render()

Renders the list.

scrollToBottom()

Scrolls the list to the bottom.

set(name, value)

Sets the value of the specified property.
Parameters:
Name Type Description
name String The name of the property.
value Object The new value.
Inherited From:

setEnabled(Enabled)

Enables/disables the widget.
Parameters:
Name Type Description
Enabled Boolean True to enable the widget, false to disable.
Inherited From:

setLabel(Label)

Sets the label on the button.
Parameters:
Name Type Description
Label String Text or HTML to set as the label on this button.
Overrides:

setQuery(queryName)

Sets the query used to populate the list with items.
Parameters:
Name Type Description
queryName String The name of the query.

setStyle(Object)

Set the widget-style
Parameters:
Name Type Description
Object Object with style-properties
Inherited From:

setValue()

Sets the widget's value.
Parameters:
Type Description
Object The new value.
Overrides:

show()

Shows the widget.
Overrides: