@fluid-topics/ft-snap-scroll
v1.1.82
Published
Vertical or horizontal container with snap scrolling.
Downloads
1,671
Readme
A snap scroll component, which is a vertical or horizontal container with snap scrolling.
Install
npm install @fluid-topics/ft-snap-scroll
yarn add @fluid-topics/ft-snap-scroll
Usage
import { html } from "lit"
import "@fluid-topics/ft-snap-scroll"
function render() {
return html`
<div class="limited-size">
<ft-snap-scroll>
...
</ft-snap-scroll>
</div>
`
}