Different structures template for DeuxHuitHuit
struct-aside-sticky.xsl
When you want 2 elements side by side, and one of them (aside) is sticky.
- Aside: The sticky element. Max height of viewport by default
- Main: Content that flows normally on the page.
struct-drawer.xsl
When you want a drawer behavior.
- Fake Trigger: Visually beside the Trigger but does not change slide state. Useful to add a button for exemple.
- Trigger: Changes the state of the slide
- Slide: The element that slides up or down
"modules/change-state.js",
"modules/slide.js",
"modules/auto-slide-click.js"
struct-modal.xsl
Creates a modal, either for a page or a simple element.
- Close: The element that will trigger a closing action
- Modal: The actual content of the modal
"modules/change-state.js",
"modules/auto-change-state-click.js"
struct-scroll-bounds.xsl
Generates gradients when scroll is enabled
- Content: Will be inside the scrollable div
"modules/auto-state-on-scroll-bounds.js",
"./struct-scroll-bounds.less"