Fix the component at a certain position
Parameters:
Name | Type | Description |
---|---|---|
mac-affix-disabled |
Expr | To unpin element (default false) |
mac-affix-top |
Expr | Top offset (default 0) |
mac-affix-bottom |
Expr | Bottom offset (default 0) |
refresh-mac-affix |
Event | To update the position of affixed element |
Example
<div mac-affix>Nav content</div>