Namespace: switch

db.libs.switch

Makes time relative.

Source:

Methods

(static) check(id) → {external:jQuery}

Check the checkbox for the switch

Parameters:
Name Type Description
id external:jQuery | string Selector or jQuery element
Source:
Returns:
Type
external:jQuery

(static) init(idopt) → {array}

Initialize the component

Parameters:
Name Type Attributes Description
id external:jQuery | string <optional>
Selector or jQuery element
Source:
Returns:
Returns array of all targeted elements
Type
array

(static) unCheck(id) → {external:jQuery}

Uncheck the checkbox for the switch

Parameters:
Name Type Description
id external:jQuery | string Selector or jQuery element
Source:
Returns:
Type
external:jQuery