Class: CurrentViewState

CurrentViewState()

This class is maintained by the controllers and it's purpose is for other controllers. to know what the state of the current view is. It is added to the repo and thereby shared.

Constructor

new CurrentViewState()

Source:

Members

currentView

Gets the name of the current view

Source:

isDirty

Tells whether the current view is dirty or not. By dirty means if the user has pressed som key.

Source:

isValid

Tells whether the view isValid or not.

Deprecated:
  • Yes
Source:

Methods

reset()

Reset this object to dirty == false

Source:

setPropertyByElement(elem)

Sets the name of the property to value.

Parameters:
Name Type Description
elem ElementValue

The name and value of the property to set.

Source: