Construct the sidebar navigation from headings within the DOM.
Enables navigation item highlighting based on scroll position.
Relies on heading ids and anchor href being the same.
Get the data attributes from the layoutEl. If the layout is being set up
declaratively, this method is used to extract the data attributes from the DOM.
Initialise layout component.
If using the Build Service, add o-layout@^1.0.1 to your
script and link tags.
Ensure the correct brand is set with a query parameter &brand=internal.
If running a Manual Build, run bower install --save "o-layout@^1.0.1".
bower install --save "o-layout@^1.0.1"
o-layout is maintained directly by the Origami team. If you have any questions about o-layout or Origami in general, we are happy to help. 😊
Slack: #ft-origamiEmail: firstname.lastname@example.org
To report a bug or request features please create an issue on Github. For support or general feedback please get in touch 😊