//#endregion //#region Notify notifyToLoadHmi() { this.onLoadHmi.emit(true); }
emitClickExEvent($event: Event) { if (this.disabled) { return this.disabled; } this.exclicked.emit($event); }
on_select_sidebar_menu_item ( menu_item: any ) : void { if ( -1 === menu_item.id ) { this._dataframeAccount.logout ( ); } else { this.onMenuItem.emit ( menu_item ); this._routeService.transition_to ( menu_item ); } }
addStep(){ this.addButtonClicked = true; if(this.stepForm){ if(this.stepForm.invalid){ return; } this.combineStringWithInputs(); } else { this.finalizedStep.emit(this.stepType + ' ' + this.stepStringArray[0]); } }
/** * called from fuxa-view to emit and send signal value from a gauge event ('key-enter' of input, 'change' of select) * @param event */ putEvent(event: Event) { if (event.ga.property && event.ga.property.variableId) { this.hmiService.putSignalValue(event.ga.property.variableId, event.value); event.dbg = 'put ' + event.ga.property.variableId + ' ' + event.value; } this.onevent.emit(event); }
on_change_view_size ( event ) : void { this.code_size = this.editor_config.view_size; this.html_size = 100 - this.code_size; let e = { code_size : this.code_size, html_size : this.html_size }; this.update_div.emit ( e ); }
on_toggle_toc ( ) : void { this.show_toc = ! this.show_toc; this.toggle_toc.emit ( this.show_toc ); }
onInputChange(value) { const valueChanged = value !== this._value; if (valueChanged) { this._value = value; this.onChange(value); this.change.emit(value); } }
on_select_page_header_menu_button ( ) { this.navOpen = !this.navOpen; this.navToggled.emit ( this.navOpen ); }
/** * Set signal value in current frontend signal array * Called from Test and value beckame from backend * @param sig */ setSignalValue(sig: Variable) { // update the signals array value // notify the gui this.onVariableChanged.emit(sig); }
private onClose($event) { if (this.onclose) { this.onclose.emit($event); } // if (this.dialog && this.dialog.view && this.dialog.view.name === viewref) { // this.onCloseDialog(); // } else if (this.cards.find((c) => c.name === viewref)) { // this.onCloseCard(this.cards.find((c) => c.name === viewref)); // } }
/** * Send Save Project to to editor component * @param saveas */ saveProject(saveas?: boolean) { this.onSaveCurrent.emit(saveas); }
emitClickEvent($event: Event) { if (this.disabled) { return this.disabled; } this.clicked.emit($event); }
addStep(){ this.addButtonClicked = true; if(this.stepForm){ if(this.stepForm.invalid){ return; } this.combineStringWithInputs(); } else { this.finalizedStep.emit(this.stepType + ' ' + this.stepStringArray[0]); } }