Access FrontEnd components
<wm-button #button1 id="button1" (click)="clickHandler($event)" [model]="model.button1" class="button1">
</wm-button>@ViewChild("button1")
button1: ButtonComponent;
clickHandler(event: any): void {
this.button1.text == "test" ? this.doSomething() : this.doSomethingElse();
}<kendo-textbox #txtbox1>
</kendo-textbox>@ViewChild("txtbox1")
txtbox1: any;PreviousAdding FrontEnd output handlersNextCreate custom components based on existing WebMap Component
Last updated
Was this helpful?