Home Reference Source

Variable

Static Public Summary
public

Mirror default options

public

defaultOptions: {"draggable": string, "handle": *, "delay": number, "placedTimeout": number, "plugins": *, "sensors": *}

public

Scrollable default options

public

Announcement default options

public

SwapAnimation default options

public
public
public
public
public
public
public
public
public

scroll: *

Static Public

public defaultOptions: Object source

Mirror default options

Properties:

NameTypeAttributeDescription
defaultOptions Object
defaultOptions.constrainDimensions Boolean
defaultOptions.xAxis Boolean
defaultOptions.yAxis Boolean
defaultOptions.cursorOffsetX null
defaultOptions.cursorOffsetY null

public defaultOptions: {"draggable": string, "handle": *, "delay": number, "placedTimeout": number, "plugins": *, "sensors": *} source

import {defaultOptions} from '@shopify/draggable/src/Draggable/Draggable.js'

public defaultOptions: Object source

Scrollable default options

Properties:

NameTypeAttributeDescription
defaultOptions Object
defaultOptions.speed Number
defaultOptions.sensitivity Number
defaultOptions.scrollableElements HTMLElement[]

public defaultOptions: Object source

Announcement default options

Properties:

NameTypeAttributeDescription
defaultOptions Object
defaultOptions.expire Number

public defaultOptions: Object source

SwapAnimation default options

Properties:

NameTypeAttributeDescription
defaultOptions Object
defaultOptions.duration Number
defaultOptions.easingFunction String

public onDragMove: * source

public onDragStart: * source

public onDragStart: * source

public onDragStop: * source

public onDragStop: * source

public onMirrorCreated: * source

public onMirrorMove: * source

public onScroll: * source