Skip to content

pannable

Creates panStart, panMove, panEnd events so you can drag elements.

Usage

<div use:pannable={true} on:panstart on:panmove on:panend />

Installation

Terminal window
npx atmx add action pannable