Type Alias DraggableGsapOptions
DraggableGsapOptions : {
button?: number;
enabled?: boolean;
hasTargetClassList?: Iterable<string>;
ignoreTargetClassList?: Iterable<string>;
inertia: boolean;
inertiaOptions: GsapInertiaOptions;
position: TJSPosition | Positionable;
storeDragging?: Writable<boolean>;
tween?: boolean;
tweenOptions?: GsapTweenOptions;
}
button?: number;
enabled?: boolean;
hasTargetClassList?: Iterable<string>;
ignoreTargetClassList?: Iterable<string>;
inertia: boolean;
inertiaOptions: GsapInertiaOptions;
position: TJSPosition | Positionable;
storeDragging?: Writable<boolean>;
tween?: boolean;
tweenOptions?: GsapTweenOptions;
}
Type declaration
Optionalbutton?: numberMouseEvent button that activates dragging; default: 0
Optionalenabled?: booleanA boolean value; controlling the
enabledstate.OptionalhasTarget ?: Iterable<string>Class List When defined any event targets that have a class in this list are allowed.
OptionalignoreTarget ?: Iterable<string>Class List When defined any event targets that have a class in this list are ignored.
inertia: boolean
When true inertia plugin options are enabled.
inertia
Options : GsapInertiaOptionsInertia plugin options.
position: TJSPosition | Positionable
A position or positionable instance.
OptionalstoreDragging ?: Writable<boolean>A writable store that tracks "dragging" state.
Optionaltween?: booleanWhen true tweening is enabled; default: false
OptionaltweenOptions ?: GsapTweenOptionsQuick tween options.
Defines the options for the draggableGsap action.