Namespace: topnav

db.libs.topnav

Methods

(private, static) blurSearch(id) → {external:jQuery}

Triggers when search looses focus

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

(private, static) focusSearch(id) → {external:jQuery}

Triggers when search recives (or should recive) focus

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:
All targeted elements
Type
array

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

Toggle visibility of small navigation. This is only visible for small viewports

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

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

Toggle visibility for secondary navigation. This is only visible for small viewports

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