Outermost component which loads and stores the navigation and footer information.
Dependencies:
| Name | Type | Description |
|---|---|---|
| $stateParams | UI-Router old service for accessing state parameters |
|
| $rootScope | Parent scope for all other scopes in AngularJS applications |
Methods
-
onInit
-
Initialization code run every time the component is created, used to setup variables based on the UI-Router state.
-
setA11yHidden (bool)
-
Set the a11yHidden variable, which effects aria-hidden.
Parameters:
Name Type Description bool true sets aria-hidden to true, where false sets aria-hidden to false
-
setFooterHidden (bool)
-
Set a variable that can hide or show the site footer. This is mainly used to aid in Infinite scrolling.
Parameters:
Name Type Description bool True to hide the footer, false to show it
-
setVisuallyHidden (bool)
-
Set the variables capable of hiding/showing the majority of the content on the page.
Parameters:
Name Type Description bool true to hide the majority of content, false to show it