component:mohistory.mohistoryApp source

Outermost component which loads and stores the navigation and footer information.

Dependencies:
NameTypeDescription
$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:
NameTypeDescription
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:
NameTypeDescription
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:
NameTypeDescription
bool

true to hide the majority of content, false to show it