1.3.0 • Published 5 years ago
stenciljs-tests v1.3.0
Stencil Tests Component
This is a testing project to build a standalone Web Component using Stencil.
How to use the component
- Write
<my-modal-bundle header="your-header" content="your-content"></my-modal-bundle>
- Add an button to show the component.
- Show the component with the propiety
.open();
Example to show the component
@ViewChild('test') myTestComponent: ElementRef<any>;
openModal(){
this.myTestComponent.nativeElement.open();
}