jqwidgets-scripts-custom
Version:
jQWidgets is an advanced jQuery, Angular 7, Vue, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.
30 lines (25 loc) • 727 B
text/typescript
import { Component, ViewChild, ViewEncapsulation } from '@angular/core';
import { jqxTooltipComponent } from 'jqwidgets-scripts/jqwidgets-ts/angular_jqxtooltip';
export class AppComponent {
myTooltip: jqxTooltipComponent;
toggle: boolean = false;
click(): void {
if (this.toggle == false) {
this.myTooltip.open();
this.toggle = true;
} else {
this.myTooltip.close();
this.toggle = false;
}
};
}