Interface: ViewModelInterface#
Table of contents#
Methods#
Methods#
getByPath#
▸ getByPath(path): ViewModelInterface
Parameters#
| Name | Type |
|---|---|
path |
string |
Returns#
getViewStateList#
▸ getViewStateList(includeSettings?): void
Get viewstate list
Parameters#
| Name | Type |
|---|---|
includeSettings? |
boolean |
Returns#
void
getViewStates#
▸ getViewStates(root, path?, includeSettings?): void
Get viewstates
Parameters#
| Name | Type |
|---|---|
root |
any |
path? |
string |
includeSettings? |
boolean |
Returns#
void
onChange#
▸ onChange(): void
Change to viewstate
Returns#
void
parse#
▸ parse(data): Record<string, any>
Parse data
Parameters#
| Name | Type |
|---|---|
data |
any |
Returns#
Record<string, any>
toJSON#
▸ toJSON(withAllProperties): Record<string, any>
Parameters#
| Name | Type |
|---|---|
withAllProperties |
any |
Returns#
Record<string, any>