Mixin for additional functionality for all markus elements
| Name | Type | Description |
|---|---|---|
superclass |
Class |
Parent class |
Example
let containerWithElementMix = new markus.mixins.Display(PIXI.Container);
containerWithElementMix({view, parent, ...preset}, argForParentClass);
Members
-
Childs list
-
Element name
-
Element id
-
markus.mixins.Element.this.mark markus.View static
-
Root view class
-
Parent node
-
markus.mixins.Element.this.presets markus.View static
-
Presets list
-
Element properties from markus markup
-
Element tags
-
Аrray of functions called every tick
Methods
-
Add tag to tags list and app mixin props
Name Type Description propsstring tagName
-
Add function to ticks array
Name Type Description cbfunciton Every tick is called
-
Remove tag from tags list and reuse mixins props
Name Type Description propsstring tagName
-
Set props to element
Name Type Description propsObject Props object