Interface ValidationManagerInstanceState

Stateful values from the instance of ValidationManager. This is expected to be retained by the creator of ValidationManager so the hosting HTML can be regenerated and a new ValidationManager is created with the retained state. In a SPA, it may not be necessary to handle states like that. The SPA may keep an instance of ValidationManager for the duration needed. Each entry in ValueHostInstanceStates must have a companion in ValueHosts and ValueHostConfigs.

interface ValidationManagerInstanceState {
    stateChangeCounter?: number;
}

Hierarchy (view full)

Properties

stateChangeCounter?: number

Mostly here to provide a way to detect a change in the state quickly. This value starts at 0 and is incremented each time ValueHostsManager stores a changed state.

Generated using TypeDoc v0.25.12