taffy-coustom-ui
Version:
24 lines (19 loc) • 721 B
text/typescript
import { Component, ViewChild, ViewEncapsulation } from '@angular/core';
import { jqxResponsivePanelComponent } from 'jqwidgets-ng/jqxresponsivepanel';
export class AppComponent {
myResponsivePanel: jqxResponsivePanelComponent;
responsivePanelOnCollapse(event: any): void {
if (event.args.element) {
return;
}
if (this.myResponsivePanel) {
this.myResponsivePanel.elementRef.nativeElement.firstChild.style.display = 'block';
}
}
}