UNPKG

ng-table-pg

Version:

A powerful and flexible responsive table component for Angular applications with drag-drop, filtering, pagination, and advanced responsive features

27 lines (26 loc) 1.24 kB
import { EventEmitter, ElementRef, AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core'; import * as i0 from "@angular/core"; export declare class DropdownButtonComponent implements AfterViewInit, OnDestroy { private elementRef; private cdr; dropdownButton: ElementRef; dropdownContent: ElementRef; buttonClass: string; isOpen: boolean; opened: EventEmitter<void>; closed: EventEmitter<void>; dropdownStyle: any; private destroy$; constructor(elementRef: ElementRef, cdr: ChangeDetectorRef); ngAfterViewInit(): void; ngOnDestroy(): void; clickOutside(event: Event): void; onScroll(): void; toggleDropdown(event: Event): void; private openDropdown; private closeDropdown; private updateDropdownPosition; private findScrollableContainer; static ɵfac: i0.ɵɵFactoryDeclaration<DropdownButtonComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DropdownButtonComponent, "app-dropdown-button", never, { "buttonClass": { "alias": "buttonClass"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; }, { "opened": "opened"; "closed": "closed"; }, never, ["[buttonContent]", "[dropdownContent]"], true, never>; }