jqwidgets-scripts-custom
Version:
jQWidgets is an advanced jQuery, Angular 7, Vue, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.
18 lines (13 loc) • 614 B
text/typescript
import { Component, ViewChild, AfterViewInit } from '@angular/core';
import { jqxDropDownButtonComponent } from 'jqwidgets-scripts/jqwidgets-ts/angular_jqxdropdownbutton';
({
selector: 'app-root',
templateUrl: './app.component.html'
})
export class AppComponent implements AfterViewInit {
('myDropDownButton') myDropDownButton: jqxDropDownButtonComponent;
ngAfterViewInit(): void {
let dropDownContent = '<div style="position: relative; margin-left: 3px; margin-top: 5px;">DropDownButton</div>';
this.myDropDownButton.setContent(dropDownContent);
}
}