AxisOption
The Axis information. The key of the axis specifies the name to use as the logical virtual coordinate system.
Type: Object
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
range | Array<Number> | ✔️ | The range of coordinate | |
range[0] | Number | ✔️ | 0 | The coordinate of the minimum |
range[1] | Number | ✔️ | 0 | The coordinate of the maximum |
startPos | Number | ✔️ | range[0] | The coordinates to be moved when creating an instance |
bounce | Array<Number> | ✔️ | The size of bouncing area. The coordinates can exceed the coordinate area as much as the bouncing area based on user action. If the coordinates does not exceed the bouncing area when an element is dragged, the coordinates where bouncing effects are applied are retuned back into the coordinate area | |
bounce[0] | Number | ✔️ | 0 | The size of coordinate of the minimum area |
bounce[1] | Number | ✔️ | 0 | The size of coordinate of the maximum area |
circular | Array<Boolean> | ✔️ | Indicates whether a circular element is available. If it is set to "true" and an element is dragged outside the coordinate area, the element will appear on the other side. | |
circular[0] | Boolean | ✔️ | false | Indicates whether to circulate to the coordinate of the minimum |
circular[1] | Boolean | ✔️ | false | Indicates whether to circulate to the coordinate of the maximum |