new StateModel(onInit, onSetState, onGetState) → {StateModel}
Parameters:
Name | Type | Description |
---|---|---|
onInit |
function | |
onSetState |
function | |
onGetState |
function |
- Source:
Returns:
- Type
- StateModel