Constructors
constructor
- new AppState(update: function, prerender?: function): AppState
-
Parameters
-
update: function
-
Optional prerender: function
Properties
preRender
preRender: function
Methods
render
- render(model: T, nextAction?: function): void
-
Parameters
-
model: T
-
Optional nextAction: function
Returns void
AppState class is used when the model updates, examine it and determine how to update the UI
AppState
T