The wovue-scroader
module contains the scroader component.
Install using npm:
$ npm install --save wovue-scroader
Note this will only works with webpack
build system.
import { WvScroader } from 'wovue-scroader'
new Vue({
components: {
WvScroader
}
})
<wv-scroader>
<!-- here your header content -->
</wv-scroader>
Name | Type | Default | Description |
---|---|---|---|
headerOffset | Number | 0 |
Space between your header and top document. |
headerTransition | String | 'scroader' |
Transition effect when header is inserted into or removed from the DOM. |