jqwidgets-scripts-custom
Version:
jQWidgets is an advanced jQuery, Angular 7, Vue, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.
26 lines (22 loc) • 930 B
text/typescript
import { Component, ViewChild, ViewEncapsulation } from '@angular/core';
import { jqxNotificationComponent } from 'jqwidgets-scripts/jqwidgets-ts/angular_jqxnotification';
import { jqxInputComponent } from 'jqwidgets-scripts/jqwidgets-ts/angular_jqxinput';
import { jqxTextAreaComponent } from 'jqwidgets-scripts/jqwidgets-ts/angular_jqxtextarea';
export class AppComponent {
jqxNotification: jqxNotificationComponent;
name: jqxInputComponent;
email: jqxInputComponent;
comment: jqxTextAreaComponent;
click(): void {
this.name.val('');
this.email.val('');
this.comment.val('');
this.jqxNotification.open();
};
}