Function
Static Public Summary | ||
public |
show all element |
|
public |
ControlsSectionElement(objectPattern: {"options": *, "onOptionChange": *, "shareButtonClicked": *, "onSwitchPlayDrawing": *, "onResetDrawing": *, "onProgressedStepsChange": *}) present control section |
|
public |
MakeSpline(data: *): object rebuild object |
|
public |
Rotor2dControllerElement(objectPattern: {"onAddDimension": *, "onChange": *, "onRemove": *, "rotor2DData": *, "rotorLabel": *}): object present all dimension controllers |
|
public |
RotorElement(objectPattern: {"onChange": *, "onRemove": *, "onSwitchPlay": *, "width": *, "step": *, "start": *, "isPlaying": *}): object Rotor Element |
|
public |
scene container |
|
public |
addDimension(label: string): * |
|
public |
changeProperty(index: number): object |
|
public |
getStore(): * |
|
public |
getUrlByState(): * |
|
public |
load last State |
|
public |
optionReducer(optionState: {"showAxes": boolean, "hasHSL": boolean, "showMoreControl": boolean, "progressedSteps": number, "steps": number}, action: *): * reducer changes store by action |
|
public |
removeDimension(index: number): object remove a dimension |
|
public |
rotorsReducer(rotorsState: {"xy": undefined, "yz": undefined, "xz": undefined}, action: *): * reducer changes store by action |
|
public |
saveState(state: *) save last State |
|
public |
change browser url to new state and reload it |
Static Public
public AppComponent(): object source
import AppComponent from 'indulge-inner-child/src/appComponent/appComponent.js'
show all element
public ControlsSectionElement(objectPattern: {"options": *, "onOptionChange": *, "shareButtonClicked": *, "onSwitchPlayDrawing": *, "onResetDrawing": *, "onProgressedStepsChange": *}) source
import ControlsSectionElement from 'indulge-inner-child/src/appComponent/controlSection/controlSectionElement.js'
present control section
Params:
Name | Type | Attribute | Description |
objectPattern | {"options": *, "onOptionChange": *, "shareButtonClicked": *, "onSwitchPlayDrawing": *, "onResetDrawing": *, "onProgressedStepsChange": *} |
|
public MakeSpline(data: *): object source
import MakeSpline from 'indulge-inner-child/src/appComponent/sceneContainer/scene/splineMaker.js'
rebuild object
Params:
Name | Type | Attribute | Description |
data | * | it's instance of store |
public Rotor2dControllerElement(objectPattern: {"onAddDimension": *, "onChange": *, "onRemove": *, "rotor2DData": *, "rotorLabel": *}): object source
import Rotor2dControllerElement from 'indulge-inner-child/src/appComponent/controlSection/rotors2D/rotors2DElement.js'
present all dimension controllers
Params:
Name | Type | Attribute | Description |
objectPattern | {"onAddDimension": *, "onChange": *, "onRemove": *, "rotor2DData": *, "rotorLabel": *} |
|
public RotorElement(objectPattern: {"onChange": *, "onRemove": *, "onSwitchPlay": *, "width": *, "step": *, "start": *, "isPlaying": *}): object source
import RotorElement from 'indulge-inner-child/src/appComponent/controlSection/rotors2D/rotor/rotorElement.js'
Rotor Element
Params:
Name | Type | Attribute | Description |
objectPattern | {"onChange": *, "onRemove": *, "onSwitchPlay": *, "width": *, "step": *, "start": *, "isPlaying": *} |
|
public SceneContainer(): object source
import SceneContainer from 'indulge-inner-child/src/appComponent/sceneContainer/sceneContainer.js'
scene container
public addDimension(label: string): * source
import {addDimension} from 'indulge-inner-child/src/appComponent/controlSection/rotors2D/rotor2D_AC.js'
Params:
Name | Type | Attribute | Description |
label | string | indicate add to which table |
Return:
* | an action to add new contoller |
public changeProperty(index: number): object source
import {changeProperty} from 'indulge-inner-child/src/appComponent/controlSection/rotors2D/rotor2D_AC.js'
Params:
Name | Type | Attribute | Description |
index | number |
public getUrlByState(): * source
import {getUrlByState} from 'indulge-inner-child/src/persistState.js'
Return:
* |
public loadState(): object source
import {loadState} from 'indulge-inner-child/src/persistState.js'
load last State
public optionReducer(optionState: {"showAxes": boolean, "hasHSL": boolean, "showMoreControl": boolean, "progressedSteps": number, "steps": number}, action: *): * source
import optionReducer from 'indulge-inner-child/src/appComponent/controlSection/optionReducer.js'
reducer changes store by action
Return:
* |
public removeDimension(index: number): object source
import {removeDimension} from 'indulge-inner-child/src/appComponent/controlSection/rotors2D/rotor2D_AC.js'
remove a dimension
Params:
Name | Type | Attribute | Description |
index | number |
public rotorsReducer(rotorsState: {"xy": undefined, "yz": undefined, "xz": undefined}, action: *): * source
import rotorsReducer from 'indulge-inner-child/src/appComponent/controlSection/rotors2D/rotorsReducer.js'
reducer changes store by action
Return:
* |
public saveState(state: *) source
import {saveState} from 'indulge-inner-child/src/persistState.js'
save last State
Params:
Name | Type | Attribute | Description |
state | * |
public setUrlByState() source
import {setUrlByState} from 'indulge-inner-child/src/persistState.js'
change browser url to new state and reload it