Affix
areas: content
An Affix block makes it's content stick to the viewport.
The Affix has a single area, content
.
Block
content
Block Setup
id: block_id
type: Affix
Settings
Affix JSON Schema Definition
type: object
properties:
events:
additionalProperties: false
properties:
onChange:
description: Triggered when container affix status changes.
type: array
type: object
properties:
additionalProperties: false
properties:
offsetBottom:
description: Offset from the bottom of the viewport (in pixels).
type: number
offsetTop:
description: Offset from the top of the viewport (in pixels).
type: number
style:
description: Css style object to applied to affix.
type: object
type: object