UNPKG

vue-horizontal-scroll

Version:

## Installation ``` npm install vue-horizontal-scroll --save ```

44 lines (34 loc) 870 B
# vue-horizontal-scroll ## Installation ``` npm install vue-horizontal-scroll --save ``` ## Usage ``` <template> <div id="app"> <horizontal-scroll> ... Content to be scrolled horizontally ... </horizontal-scroll> </div> </template> ``` ``` <script> import HorizontalScroll from 'vue-horizontal-scroll' import 'vue-horizontal-scroll/dist/vue-horizontal-scroll.css' export default { name: 'App', components: { HorizontalScroll } } </script> ``` [examples](https://github.com/ispec-inc/vue-horizontal-scroll/blob/master/examples/example.vue "examples") ## Demo ![demo](https://raw.githubusercontent.com/ispec-inc/vue-horizontal-scroll/master/src/assets/demo.gif) ## Contributions All contributions are welcome send your PR and Issues. ## License This is a open-source software licensed under the MIT license