Fallback Library
This library contains a set of deprecated functions that are still present for fallback support. Do not use these methods in new modules.
- Source:
Methods
(static) _data($element, moduleName) → {Object}
Get the module related data of the provided element.
Parameters:
Name | Type | Description |
---|---|---|
$element |
jQuery | |
moduleName |
String |
- Source:
Returns:
- Type
- Object
(static) getData($form, ignore) → {Object}
Fallback getData method.
This method was included in v1.0 of JS Engine and is replaced by the "jse.libs.form.getData" method.
Parameters:
Name | Type | Description |
---|---|---|
$form |
Object | Selector of the form to be parsed. |
ignore |
String | (optional) jQuery selector string of form elements to be ignored. |
- Source:
Returns:
Returns the data of the form as an object.
- Type
- Object
(static) getUrlParams(url, deep) → {Object}
Get URL parameters.
Parameters:
Name | Type | Description |
---|---|---|
url |
String | |
deep |
Boolean |
- Source:
Returns:
- Type
- Object
(static) setupWidgetAttr($element)
Setup Widget Attribute
Parameters:
Name | Type | Description |
---|---|---|
$element |
Object | Change the widget attribute of an element. |
- Source: