Mixin for additional functionality for all pixi elements
| Name | Type | Description |
|---|---|---|
superclass |
Class |
Parent class |
Example
let containerWithDisplayAndElementMix = new markus.mixins.Display(PIXI.Container);
containerWithDisplayAndElementMix({view, parent, ...preset}, argForParentClass);
Mixes In
Members
-
Angle in degrees
-
Positioning the element relative to the bottom edge of the parent
-
Positioning the element relative to the horizontal center of the parent
-
Positioning the element relative to the horizontal and vertical center of the parent
-
Positioning the element relative to the vertical center of the parent
-
Short setter for height
-
Positioning the element relative to the left edge of the parent
-
Positioning the element relative to the right edge of the parent
-
The height of the area of allowable positions children of the element
-
The width of the area of allowable positions children of the element
-
Positioning the element relative to the top edge of the parent
-
Short setter for width
-
Childs list
-
Element name
-
Element id
-
this.mark markus.View
-
Root view class
-
Parent node
-
this.presets markus.View
-
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