@rws-framework/components
Version:
19 lines (15 loc) • 523 B
text/typescript
import { observable } from '@microsoft/fast-element';
import { RWSViewComponent, RWSView } from '@rws-framework/client';
('rws-modal')
class RWSModal extends RWSViewComponent {
closeModal: () => void
onShowModal: ($: ShadowRoot) => void
connectedCallback(): void {
super.connectedCallback();
if(this.onShowModal){
this.onShowModal(this.shadowRoot);
}
}
}
RWSModal.defineComponent();
export { RWSModal };