Quick DOM elements creation in js
npm install --save el
import {el} from '@fxi/el';
el('div',
el('canvas',{
width: 300,
height: 300,
on : { 'click' : console.log }
})
)
Quick DOM elements creation in js
npm install --save el
import {el} from '@fxi/el';
el('div',
el('canvas',{
width: 300,
height: 300,
on : { 'click' : console.log }
})
)