Called immediately after a component is mounted. Setting state here will trigger re-rendering.
Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as
cancelled network requests, or cleaning up any DOM elements created in componentDidMount.
A horizontal scrolling navigation bar based on Bootstrap's
nav-scrollerpattern. Automatically shows scroll arrow buttons when nav items overflow the container width.See
https://github.com/twbs/bootstrap/blob/main/site/src/assets/examples/offcanvas-navbar/index.astro#L50-L65