Native ElementsMounting a component onto a native <dialog> element while preserving its built-in browser methodslight-dom-dialog1componentfalseFrameworkcomponent.jsLight DOMMounting layers the component prototype over the element prototype, so native methods like el.showModal() and el.close() still work["component","mount","light-dom","dialog","native"]Native ElementsExample
Categories