@egjs/svelte-flicking
v4.11.4
Published
Everyday 30 million people experience. It's reliable, flexible and extendable carousel.
Downloads
227
Keywords
Readme
⚙️ Installation
npm install --save @egjs/svelte-flicking
❗ Changes from @egjs/flicking
- You can't use methods that manipulates DOM directly
- e.g.,
append()
,prepend()
,insert()
,remove()
- e.g.,
🏃 Quick Start
import Flicking, { FlickingPanel } from "@egjs/svelte-flicking";
import "@egjs/svelte-flicking/dist/flicking.css";
// Or, if you have to support IE9
import "@egjs/svelte-flicking/dist/flicking-inline.css";
<Flicking options={{ bound: true }}>
<FlickingPanel><div>0</div></FlickingPanel>
<FlickingPanel><div>1</div></FlickingPanel>
<FlickingPanel><div>2</div></FlickingPanel>
<FlickingPanel><div>3</div></FlickingPanel>
<FlickingPanel><div>4</div></FlickingPanel>
<FlickingPanel><div>5</div></FlickingPanel>
<FlickingPanel><div>6</div></FlickingPanel>
</Flicking>
📦 Packages
You can use all plugins just like native @egjs/flicking.
Check @egjs/flicking-plugins for readymade effects we're providing.
📖 More Options & Examples
🙌 Contributing
See CONTRIBUTING.md
📝 Feedback
Please file an Issue with label "Svelte".
📜 License
egjs-flicking is released under the MIT license.
Copyright (c) 2015-present NAVER Corp.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.