Global

Type Definitions

Model

Source:

While a Binding defines the behavior of a component, a Model defines its look.

Type:

ElementDefinition

Source:
Properties:
Name Type Attributes Description
tagName tagName
attributes object <optional>

These will be set using setAttribute

identifier str <optional>

Creates an identifier for this Element

children Array.<Model> <optional>

Create an Element

Type:
  • object

ChildModelDefinition

Source:
Properties:
Name Type Description
childModel ChildModel
Type:
  • object

ChildModel

Source:
Properties:
Name Type Attributes Description
childModel.model ElementDefinition
childModel.binding Binding

Binding class

childModel.arguments array <optional>

These properties will be passed to the binding

childModel.identifier str <optional>

Creates an identifier for this ChildModel

Full-featured nesting of model

Type:
  • object

RunParameters

Source:
Properties:
Name Type Attributes Default Description
target Element
binding Binding <optional>
new Binding()
method Method <optional>
METHOD.APPEND_CHILD
identifier str <optional>

Creates an identifier for this Model

Allow some degree of parameterization when running a Model

Type:
  • object

Method

Source:
Properties:
Name Type Description
APPEND_CHILD string
INSERT_BEFORE string
INSERT_AFTER string
REPLACE_NODE string
WRAP_NODE string
PREPEND string

Change how a model is connected to the DOM

Type:
  • object