vue-custom-horizontal-sliding

1.0.3 • 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

Dependents (0)

Package Sidebar

Install

npm i vue-custom-horizontal-sliding

Weekly Downloads

44

Version

1.0.3

License

ISC

Unpacked Size

8.06 kB

Total Files

5

Last publish

Collaborators

  • matvejs16