Inheritance DOMElement
View
Module hilo/view/DOMElement
Requires
hilo/core/Hilo, hilo/core/Class, hilo/view/View, hilo/view/Drawable
Source
DOMElement.js
DOMElement is a wrapper of dom element.(The DOMElement's parent must be stage)
demo:
var domView = new Hilo.DOMElement({ element: Hilo.createElement('div', { style: { backgroundColor: '#004eff', position: 'absolute' } }), width: 100, height: 100, x: 50, y: 70 }).addTo(stage);
Property | Defined |
---|
Method | Defined | |
---|---|---|
DOMElement(properties:Object)
Constructor
|
DOMElement |