Module: @@app-state/model/state

Definition of the state keys for model and their changes
Source:

Methods

(static) bindProperties() → {*}

For a list of property ids binds their names to their current target.
Source:
Returns:
Type
*

(static) togglePropertyAsVariable() → {*}

Marks the property if it should be queried as a variable or not. For object properties also propagates the change to the target classes.
Source:
Returns:
Type
*

(static) togglePropertySelected() → {*}

Toggles the property as selected. Based on whether it is the last deselected or first selected also selected/deselects the target and source entities.
Source:
Returns:
Type
*

(static) updateLanguageInfo() → {*}

Extracts the language information for given language to the root info object of the entity.
Source:
Returns:
Type
*

(inner) createNewClassInstance(id, s) → {Object}

Creates a new class entity based on the provided id. This in turn creates duplicate properties on other entities that can target this new entity.
Parameters:
Name Type Description
id
s
Source:
Returns:
Type
Object