mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
tweak(ui): allow setting render more for JustHTML
This commit is contained in:
parent
577bd59b6c
commit
be38df32ec
@ -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();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user