Constructor
new Utils()
Methods
(static) getMaxTimeout() → (non-null) {Number}
Returns the maximum number allowed by the `setTimeout` function
Returns:
The number
- Type
- Number
(static) getPortletBoundaryId(portletIdnon-null) → (non-null) {String}
Given a portletId, returns the ID of the portlet's boundary DOM element
Parameters:
Name | Type | Description |
---|---|---|
portletId |
String | The portlet ID |
Returns:
The portlet boundary ID
- Type
- String
(static) getPortletBoundaryIds(Thenon-null) → (non-null) {Array}
Given an array of portlet IDs, returns an array of portlet boundary IDs
Parameters:
Name | Type | Description |
---|---|---|
The |
Array | collection of portletIds |
Returns:
The collection of portlet boundary IDs
- Type
- Array
(static) resetAllPortlets()
Destroys all rendered portlets on the page