Namespace: breadcrumb

UCASDesignFramework.breadcrumb

Methods

(static) .createMobileBreadcrumb()

Destroys mobile breadcrumb.
Source:

(static) .createMobileBreadcrumb(breadcrumb)

Creates mobile breadcrumb.
Parameters:
Name Type Description
breadcrumb Node the breadcrumb
Source:

(static) .destroy()

Source:
Example
UCASDesignFramework.breadcrumb.destroy()

(static) .init(contextopt, selectoropt) → {Boolean}

Initialises the first breadcrumb it finds.
Parameters:
Name Type Attributes Default Description
context Node <optional>
document context to limit the selector
selector String <optional>
.breadcrumb a valid CSS selector for the password toggle data attribute
Source:
Returns:
- true for success
Type
Boolean
Example
UCASDesignFramework.breadcrumb.init()