bootstrap-vue
Version:
With more than 85 components, over 45 available plugins, several directives, and 1000+ icons, BootstrapVue provides one of the most comprehensive implementations of the Bootstrap v4 component and grid system available for Vue.js v2.6, complete with extens
39 lines (38 loc) • 1.27 kB
JSON
{
"name": "@bootstrap-vue/scrollspy",
"version": "0.0.0",
"meta": {
"title": "Scrollspy",
"description": "Automatically activate BootstrapVue navigation or list group components based on scroll position to indicate which link is currently active in the viewport.",
"directive": "VBScrollspy",
"arg": {
"pattern": "[a-zA-Z][a-zA-Z0-9_\\-]*",
"description": "ID of element to monitor scrolling on (if not provided defaults to the body element)",
"required": false
},
"expression": [
"String",
"Number",
"Object"
],
"modifiers": [
{
"name": "###",
"pattern": "[\\d]+",
"description": "Offset (in pixels) from top of scrolling viewport before triggering active state"
},
{
"name": "offset",
"description": "Position calculation method using `offset` procedure (default process for body)"
},
{
"name": "position",
"description": "Position calculation method using the `position` procedure"
},
{
"name": "auto",
"description": "Position calculation method: `auto` will choose `offset` if scroll element is body, else the method is `position`. This is the default"
}
]
}
}