vue-custom-horizontal-sliding

1.0.0 • Public • Published

API

<div v-trix-horizontal-slider> // Adds "sliding" class when desktop user slides horizontal
<div v-trix-horizontal-slider="testClass"> // Adds "testClass" class when desktop user slides horizontal

You can add "overElement" modifier to make ability to press on element to slider

<div v-trix-horizontal-slider.overElement>

If you dont use "overElement" modifier, then you have to add "trix-slider-selector" on each child element

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i vue-custom-horizontal-sliding

      Weekly Downloads

      2

      Version

      1.0.0

      License

      ISC

      Unpacked Size

      4.92 kB

      Total Files

      4

      Last publish

      Collaborators

      • matvejs16