Skip to content

Interface: ViewModelInterface

Hierarchy

  • ViewModelInterface

Index

Methods

Methods

getByPath

getByPath(path: String): DocumentViewModel

Parameters:

Name Type
path String

Returns: DocumentViewModel


getViewStateList

getViewStateList(includeSettings?: boolean): void

Get viewstate list

Parameters:

Name Type Description
includeSettings? boolean

Returns: void


getViewStates

getViewStates(root: any, path?: string, includeSettings?: boolean): void

Get viewstates

Parameters:

Name Type Description
root any -
path? string -
includeSettings? boolean

Returns: void


onChange

onChange(): void

Change to viewstate

Returns: void


parse

parse(data: any): Object

Parse data

Parameters:

Name Type Description
data any

Returns: Object


toJSON

toJSON(withAllProperties: any): Object

Parameters:

Name Type
withAllProperties any

Returns: Object