install
npm i vue-fixed-block --save-dev
use
content
example app
Vue
screenshot
fixed-block properties
Name | Type | Required | Default | Description |
---|---|---|---|---|
fix-delay | Number | false | 2 | the offset of the scroll actuation attachment |
fixed-block events
Name | params | Type | Description |
---|---|---|---|
change-fix | fixed | Boolean | called when the block is attached or detached |
Event Bus
events
Name | params | Type | Description |
---|---|---|---|
change-fix | fixed | Boolean | called when the block is attached or detached |
example events
Event
Call up position recalculation
Event