bricks/bricks/html.js
2024-05-08 11:15:05 +08:00

16 lines
233 B
JavaScript

var bricks = window.bricks || {};
bricks.Html = class extends bricks.JsWidget {
/*
{
html:
}
*/
constructor(opts){
super(opts);
this.dom_element.innerHTML = opts.html;
}
}
bricks.Factory.register('Html', bricks.Html);