Adding FrontEnd output handlers
In the WebMAP infrastructure, we have output emitters for important events in our components.
For example:
.html file
<wm-button id="button" (click)="clickHandler($event)" [model]="model.button" class="button">
</wm-button>
.ts file
clickHandler(event: any): void {
// add click handler logic
}
The output events are case-sensitive, so make sure you have the correct name.
Last updated
Was this helpful?