UNPKG

bootstrap-vue

Version:

BootstrapVue, with over 40 plugins and more than 80 custom components, custom directives, and over 300 icons, provides one of the most comprehensive implementations of Bootstrap v4 components and grid system for Vue.js. With extensive and automated WAI-AR

39 lines (38 loc) 1.27 kB
{ "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." } ] } }