This is called by Viewport.snap.
Protected OptionaldeltaProtected OptionaldeltaOptionaleaseReadonlyoptionsReadonlyparentThe viewport to which this plugin is attached.
Flags whether this plugin has been "paused".
Protected OptionalpercentProtected OptionalsnappingProtected OptionalstartProtected OptionalstartCalled when plugin is removed
Handler for pointerdown PIXI event
ProtectedglobalProtectedparentPause the plugin
Called when the viewport is manually moved
Called when the viewport is resized
Un-pause the plugin
Handler for pointerup PIXI event
Called on each tick
ProtectedviewportHandler for wheel event on div
snap-start(Viewport) emitted each time a snap animation starts snap-restart(Viewport) emitted each time a snap resets because of a change in viewport size snap-end(Viewport) emitted each time snap reaches its target snap-remove(Viewport) emitted if snap plugin is removed