magic-virtual-element
A library for building virtual tree elements, with enhanced support for class and style properties.
npm install magic-virtual-element
You can also use Duo, Bower or download the files manually.
Top-Level API
: Component
Example
; let divStyle = color: 'white' backgroundImage: 'url(' + imgUrl + ')' WebkitTransition: 'all' // note the capital 'W' here msTransition: 'all' // 'ms' is the only lowercase vendor prefix; ;