Interface: SliderOptions
Extends
CompositeOptions
Properties
alpha?
optional
alpha:number
Opacity of the node. 0 is fully transparent, 1 is fully opaque. Default is 1.0. Alpha has multiplicative inheritance. For example, if the node's parent is alpha .5 and this node's is alpha .4, then the node will appear with alpha .2.
Inherited from
CompositeOptions.alpha
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:100
anchorPoint?
optional
anchorPoint:Point
Point within the node that determines its position. Default is { x: 0.5, y: 0.5 }, which centers the node on its position
Inherited from
CompositeOptions.anchorPoint
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:43
draggable?
optional
draggable:boolean
Can the node be dragged?
Inherited from
CompositeOptions.draggable
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:106
hidden?
optional
hidden:boolean
Is the node, and its children, hidden? (not displayed). Default is false
Inherited from
CompositeOptions.hidden
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:108
isUserInteractionEnabled?
optional
isUserInteractionEnabled:boolean
Does the node respond to user events, such as taps? Default is false
Inherited from
CompositeOptions.isUserInteractionEnabled
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:104
layout?
optional
layout:Layout
FOR INTERNAL USE ONLY
Inherited from
CompositeOptions.layout
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:110
max?
optional
max:number
The maximum value of the slider.
Defined in
m2c2kit/packages/addons/src/composites/slider.ts:31
min?
optional
min:number
The minimum value of the slider.
Defined in
m2c2kit/packages/addons/src/composites/slider.ts:29
name?
optional
name:string
Name of the node. Only needed if the node will be referred to by name in a later function
Inherited from
CompositeOptions.name
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:94
position?
optional
position:Point
Position of the node within its parent coordinate system. Default is (0, 0)
Inherited from
CompositeOptions.position
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:96
scale?
optional
scale:number
Scale of the node. Default is 1.0
Inherited from
CompositeOptions.scale
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:98
suppressEvents?
optional
suppressEvents:boolean
Should the node not emit events to the EventStore? Default is false.
Remarks
This property is for use by authors of Composite
nodes. It is not intended for general use.
Inherited from
CompositeOptions.suppressEvents
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:115
thumbColor?
optional
thumbColor:RgbaColor
The color of the thumb.
Defined in
m2c2kit/packages/addons/src/composites/slider.ts:27
thumbSize?
optional
thumbSize:Size
The size of the thumb that the user drags.
Defined in
m2c2kit/packages/addons/src/composites/slider.ts:25
trackColor?
optional
trackColor:RgbaColor
The color of the track.
Defined in
m2c2kit/packages/addons/src/composites/slider.ts:23
trackSize?
optional
trackSize:Size
The size of the track that the thumb moves along.
Defined in
m2c2kit/packages/addons/src/composites/slider.ts:21
uuid?
optional
uuid:string
Internal
Unique identifier (UUID). Will be generated automatically. For m2c2kit library use only
Inherited from
CompositeOptions.uuid
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:112
value?
optional
value:number
The initial value of the slider.
Defined in
m2c2kit/packages/addons/src/composites/slider.ts:33
zPosition?
optional
zPosition:number
Value along the z-axis to determine drawing and tap order. Larger values are on top.
Inherited from
CompositeOptions.zPosition
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:45
zRotation?
optional
zRotation:number
Rotation of the node around the Z axis. Unit is radians. Default is 0 (no rotation). zRotation has inheritance. In addition to this node's zRotation, all ancestors' zRotations will be applied.
Inherited from
CompositeOptions.zRotation
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:102