Breadcrumb component.
Methods
(static) .createMobileBreadcrumb()
Destroys mobile breadcrumb.
(static) .createMobileBreadcrumb(breadcrumb)
Creates mobile breadcrumb.
Parameters:
Name | Type | Description |
---|---|---|
breadcrumb |
Node | the breadcrumb |
(static) .destroy()
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 |
Returns:
- true for success
- Type
- Boolean
Example
UCASDesignFramework.breadcrumb.init()