Class: Utils

Utils()

Utils A collection of utilities used by this module

Methods

(static) getMaxTimeout() → (non-null) {Number}

Returns the maximum number allowed by the `setTimeout` function
Source:
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
Source:
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
Source:
Returns:
The collection of portlet boundary IDs
Type
Array

(static) resetAllPortlets()

Destroys all rendered portlets on the page
Source: