@alauda/ui
Version:
Angular UI components by Alauda Frontend Team.
34 lines (33 loc) • 1.94 kB
TypeScript
import { Directionality } from '@angular/cdk/bidi';
import { CdkScrollable, ScrollDispatcher } from '@angular/cdk/scrolling';
import { AfterViewInit, ElementRef, NgZone, OnDestroy, OnInit } from '@angular/core';
import { Subject, BehaviorSubject } from 'rxjs';
import { TableComponent } from './table.component';
import * as i0 from "@angular/core";
export declare class TableScrollWrapperDirective {
auiTableScrollWrapper: string;
elementRef: ElementRef<any>;
static ɵfac: i0.ɵɵFactoryDeclaration<TableScrollWrapperDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<TableScrollWrapperDirective, "[auiTableScrollWrapper]", never, { "auiTableScrollWrapper": { "alias": "auiTableScrollWrapper"; "required": false; }; }, {}, never, never, true, never>;
}
export declare class TableScrollableDirective extends CdkScrollable implements AfterViewInit, OnInit, OnDestroy {
private readonly el;
private readonly table;
set scrollable(scrollable: boolean | '');
get scrollable(): boolean | "";
private _scrollable;
scrollable$$: BehaviorSubject<boolean>;
destroy$$: Subject<void>;
constructor(el: ElementRef<HTMLElement>, scrollDispatcher: ScrollDispatcher, ngZone: NgZone, table: TableComponent<unknown>, dir?: Directionality);
className: string;
get containerEl(): HTMLElement;
ngOnInit(): void;
ngAfterViewInit(): void;
ngOnDestroy(): void;
viewMutation(): void;
mutateVerticalScroll(): void;
mutateHorizontalScroll(): void;
placeClassList(classList: DOMTokenList, condition: boolean, className: string): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TableScrollableDirective, [null, null, null, { host: true; }, { optional: true; }]>;
static ɵdir: i0.ɵɵDirectiveDeclaration<TableScrollableDirective, "[auiTableScrollable]", never, { "scrollable": { "alias": "auiTableScrollable"; "required": false; }; }, {}, never, never, true, never>;
}