Provides a fixed position container whose classes change by scrolling the page.
On scroll, the container will change its classes to reflect the current scroll direction, and if has past a given threshold.
Can be use to create fixed headers, microheaders, footers, popups, etc.
fixed-layout
threshold
number
When page is scrolled past this number a class is added on node.
300
Last updated 3 years ago
{ "fixed-layout#header-mobile": { "props": { "blockClass": ["header", "header--mobile"] }, "children": ["container#differentials", "container#main-header-mobile"] } }