Class Alfresco.CustomiseDashlets
Extends Alfresco.component.Base
CustomiseDashlets component.
Defined in: customise-dashlets.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Alfresco.CustomiseDashlets(htmlId)
Alfresco.CustomiseDashlets constructor.
|
| Field Attributes | Field Name and Description |
|---|---|
|
Object container for initialization options
|
- Fields borrowed from class Alfresco.component.Base:
- modules, services, widgets
| Method Attributes | Method Name and Description |
|---|---|
|
onAddDashletsButtonClick(event)
Fired when the user clicks the Add dashlet button.
|
|
|
onCancelButtonClick(event)
Fired when the user clicks the Cancel button.
|
|
|
onCloseAddDashletsLinkClick(event)
|
|
|
onDashboardLayoutChanged(layer, args)
Fired when the number of columns has changed has changed
|
|
|
onDashboardLayoutsDisplayed(layer, args)
Fired when the CusomiseLayout component displays the available layouts
|
|
|
onDashboardLayoutsHidden(layer, args)
Fired when the CusomiseLayout component hides the available layouts
|
|
|
onReady()
|
|
|
onSaveButtonClick(event)
Fired when the user clicks the Save/Done button.
|
- Methods borrowed from class Alfresco.component.Base:
- attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.CustomiseDashlets(htmlId)
Alfresco.CustomiseDashlets constructor.
- Parameters:
- {string} htmlId
- The HTML id of the parent element
- Returns:
- {Alfresco.CustomiseDashlets} The new CustomiseDashlets instance
Field Detail
{object}
options
Object container for initialization options
Method Detail
onAddDashletsButtonClick(event)
Fired when the user clicks the Add dashlet button.
Hides or shows the dashlet list.
Hides or shows the dashlet list.
- Parameters:
- {object} event
- an "click" event
onCancelButtonClick(event)
Fired when the user clicks the Cancel button.
Takes the user back to the dashboard page without saving anything.
Takes the user back to the dashboard page without saving anything.
- Parameters:
- {object} event
- a "click" event
onCloseAddDashletsLinkClick(event)
- Parameters:
- event
onDashboardLayoutChanged(layer, args)
Fired when the number of columns has changed has changed
- Parameters:
- {string} layer
- the event source
- {object} args
- arguments object
onDashboardLayoutsDisplayed(layer, args)
Fired when the CusomiseLayout component displays the available layouts
- Parameters:
- {string} layer
- the event source
- {object} args
- arguments object
onDashboardLayoutsHidden(layer, args)
Fired when the CusomiseLayout component hides the available layouts
- Parameters:
- {string} layer
- the event source
- {object} args
- arguments object
onReady()
onSaveButtonClick(event)
Fired when the user clicks the Save/Done button.
Saves the dashboard config and takes the user back to the dashboard page.
Saves the dashboard config and takes the user back to the dashboard page.
- Parameters:
- {object} event
- a "click" event