UNPKG

jqwidgets-scripts-custom

Version:

jQWidgets is an advanced jQuery, Angular 7, Vue, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.

13 lines (11 loc) 540 B
import { Component, AfterViewInit } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html' }) export class AppComponent implements AfterViewInit { ngAfterViewInit() { let searchButton: jqwidgets.jqxButton = jqwidgets.createInstance('.jqx-menu-search', 'jqxButton', { theme: 'material', width: 60, height: 18 }); let linkButton: jqwidgets.jqxLinkButton = jqwidgets.createInstance('.buyonline', 'jqxLinkButton', { theme: 'material', width: 150, height: 25 }); } }