tweak(ui): allow setting render more for JustHTML

This commit is contained in:
KernelDeimos 2024-05-30 16:12:01 -04:00
parent 577bd59b6c
commit be38df32ec

View File

@ -15,4 +15,13 @@ export default def(class JustHTML extends Component {
$(this.dom_).find('span').html(html);
});
}
_set_dom_based_on_render_mode({ property_values }) {
if ( property_values.no_shadow ) {
this.dom_ = this;
return;
}
return super._set_dom_based_on_render_mode();
}
});