Home Reference Source Repository

Function

Static Public Summary
public

show all element

public

ControlsSectionElement(objectPattern: {"options": *, "onOptionChange": *})

present control section

public

DimensionControllerElement(objectPattern: {"onAddDimension": *, "onChange": *, "onRemove": *, "list": *, "label": *}): object

present all dimension controllers

public

MakeSpline(data: *): object

rebuild object

public

scene container

public

SinusControllerElement(objectPattern: {"onChange": *, "onRemove": *, "onSwitchPlay": *, "width": *, "step": *, "start": *, "isPlaying": *})

public

ThreeDimensionController(objectPattern: {}): object

present all dimension controllers

public

addDimension(label: string): *

public
public

dimensionsReducer(dimensionState: {"x": undefined, "y": undefined, "z": undefined}, action: *): *

reducer changes store by action

public

load last State

public

optionReducer(optionState: {"showAxes": boolean, "hasHSL": boolean}, action: *): *

reducer changes store by action

public

remove a dimension

public

saveState(state: *)

save last State

public

change browser url to new state and reload it

Static Public

public AppComponent(): object source

show all element

Return:

object

presentation element

public ControlsSectionElement(objectPattern: {"options": *, "onOptionChange": *}) source

present control section

Params:

NameTypeAttributeDescription
objectPattern {"options": *, "onOptionChange": *}
  • default: {"options":null,"onOptionChange":null}

public DimensionControllerElement(objectPattern: {"onAddDimension": *, "onChange": *, "onRemove": *, "list": *, "label": *}): object source

present all dimension controllers

Params:

NameTypeAttributeDescription
objectPattern {"onAddDimension": *, "onChange": *, "onRemove": *, "list": *, "label": *}
  • default: {"onAddDimension":null,"onChange":null,"onRemove":null,"list":null,"label":null}

Return:

object

presentation element

public MakeSpline(data: *): object source

rebuild object

Params:

NameTypeAttributeDescription
data *

it's instance of store

Return:

object

created spline

public SceneContainer(): object source

scene container

Return:

object

presentation element

public SinusControllerElement(objectPattern: {"onChange": *, "onRemove": *, "onSwitchPlay": *, "width": *, "step": *, "start": *, "isPlaying": *}) source

Params:

NameTypeAttributeDescription
objectPattern {"onChange": *, "onRemove": *, "onSwitchPlay": *, "width": *, "step": *, "start": *, "isPlaying": *}
  • default: {"onChange":null,"onRemove":null,"onSwitchPlay":null,"width":null,"step":null,"start":null,"isPlaying":null}

public ThreeDimensionController(objectPattern: {}): object source

present all dimension controllers

Params:

NameTypeAttributeDescription
objectPattern {}
  • default: {}

Return:

object

presentation element

public addDimension(label: string): * source

Params:

NameTypeAttributeDescription
label string

indicate add to which table

Return:

*

an action to add new contoller

public changeProperty(index: number): object source

Params:

NameTypeAttributeDescription
index number

Return:

object

change property action

public dimensionsReducer(dimensionState: {"x": undefined, "y": undefined, "z": undefined}, action: *): * source

reducer changes store by action

Params:

NameTypeAttributeDescription
dimensionState {"x": undefined, "y": undefined, "z": undefined}
  • optional
  • default: {}
action *

Return:

*

public loadState(): object source

import {loadState} from 'indulge-inner-child/src/persistState.js'

load last State

Return:

object

saved state

public optionReducer(optionState: {"showAxes": boolean, "hasHSL": boolean}, action: *): * source

reducer changes store by action

Params:

NameTypeAttributeDescription
optionState {"showAxes": boolean, "hasHSL": boolean}
  • optional
  • default: {"showAxes":false,"hasHSL":false}
action *

Return:

*

public removeDimension(index: number): object source

remove a dimension

Params:

NameTypeAttributeDescription
index number

Return:

object

remove dimension action

public saveState(state: *) source

import {saveState} from 'indulge-inner-child/src/persistState.js'

save last State

Params:

NameTypeAttributeDescription
state *

public setUrlByState() source

import {setUrlByState} from 'indulge-inner-child/src/persistState.js'

change browser url to new state and reload it