jqwidgets-scripts-custom
Version:
jQWidgets is an advanced jQuery, Angular 7, Vue, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.
20 lines (16 loc) • 663 B
text/typescript
import { Component, ViewChild, ViewEncapsulation } from '@angular/core';
import { jqxResponsivePanelComponent } from 'jqwidgets-scripts/jqwidgets-ts/angular_jqxresponsivepanel';
export class AppComponent {
myResponsivePanel: jqxResponsivePanelComponent;
responsivePanelOnCollapse(event: any): void {
if (event.args.element)
return;
this.myResponsivePanel.elementRef.nativeElement.firstChild.style.display = 'block';
}
}