Namespace: taglist

sh.libs.taglist

Makes time relative.

Source:

Methods

(static) addTag(id, tag) → {external:jQuery}

Add a tag

Parameters:
Name Type Description
id external:jQuery | string Selector or jQuery element
tag string The tag to add
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) removeTag(id, iopt) → {external:jQuery}

Remove a tag

Parameters:
Name Type Attributes Description
id external:jQuery | string Selector or jQuery element
i number <optional>
The index if the tag to remove
Source:
Returns:
Type
external:jQuery