jqwidgets-scripts-custom
Version:
jQWidgets is an advanced jQuery, Angular 7, Vue, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.
29 lines (22 loc) • 811 B
text/typescript
import { Component, ViewChild, AfterViewInit } from '@angular/core';
import { jqxTabsComponent } from 'jqwidgets-scripts/jqwidgets-ts/angular_jqxtabs';
export class AppComponent implements AfterViewInit {
tabs1: jqxTabsComponent;
tabs2: jqxTabsComponent;
tabs3: jqxTabsComponent;
getWidth() : any {
if (document.body.offsetWidth < 850) {
return '90%';
}
return 850;
}
ngAfterViewInit() {
this.tabs1.elementRef.nativeElement.firstChild.style.border = 'none';
this.tabs2.elementRef.nativeElement.firstChild.style.border = 'none';
this.tabs3.elementRef.nativeElement.firstChild.style.border = 'none';
}
}