Elgg
Version 1.9
|
Go to the source code of this file.
Functions | |
elgg | provide ('elgg.ui.widgets') |
elgg | register_hook_handler ('init', 'system', elgg.ui.widgets.init) |
Variables | |
elgg ui widgets | init |
Widgets initialization. More... | |
elgg ui widgets | add |
Adds a new widget. More... | |
elgg ui widgets | move |
Persist the widget's new position. More... | |
elgg ui widgets | remove |
Removes a widget from the layout. More... | |
elgg ui widgets | collapseToggle |
Toggle the collapse state of the widget. More... | |
elgg ui widgets | saveSettings |
Save a widget's settings. More... | |
elgg ui widgets | setMinHeight |
Set the min-height so that all widget column bottoms are the same. More... | |
elgg provide | ( | 'elgg.ui.widgets' | ) |
Adds a new widget.
Makes Ajax call to persist new widget and inserts the widget html
{Object} | event |
Definition at line 44 of file ui.widgets.js.
Toggle the collapse state of the widget.
{Object} | event |
Definition at line 143 of file ui.widgets.js.
Widgets initialization.
Definition at line 9 of file ui.widgets.js.
Persist the widget's new position.
{Object} | event |
{Object} | ui |
Definition at line 78 of file ui.widgets.js.
Removes a widget from the layout.
Event callback the uses Ajax to delete the widget and removes its HTML
{Object} | event |
Definition at line 109 of file ui.widgets.js.
Save a widget's settings.
Uses Ajax to save the settings and updates the HTML.
{Object} | event |
Definition at line 157 of file ui.widgets.js.
Set the min-height so that all widget column bottoms are the same.
This addresses the issue of trying to drag a widget into a column that does not have any widgets or many fewer widgets than other columns.
{String} | selector |
Definition at line 194 of file ui.widgets.js.