angular-horizontal-scroll-table
Version:
angular-horizontal-scroll-table is A simple solution for horizontal scroll in any table.
37 lines (36 loc) • 1.56 kB
TypeScript
import { ElementRef, Renderer2, OnInit, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
import * as i0 from "@angular/core";
export declare class BassHorizontalScrollDirective implements OnInit, OnDestroy, OnChanges {
private el;
private renderer;
tableId: string;
tableTHeadId: string;
tableTHeadTrId: string;
pageUpdated: boolean;
pageDestored: boolean;
z2table: HTMLElement;
z2tableTHeadTr: HTMLElement;
z2tableTHead: HTMLElement;
scrollBarContainer: HTMLElement;
scrollBarWrap: HTMLElement;
fristtime: boolean;
onScroll(e: any): void;
constructor(el: ElementRef, renderer: Renderer2);
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
ngOnDestroy(): void;
inIt(): void;
changes(changes: any): void;
containerHasHorizontalScrollbar(): boolean;
resizeZ2Table(): void;
z2tableinit(): void;
addScrollBars(): void;
onBodyscroll: () => void;
showOrHideScroll(): void;
addZ2ScrollEvents(): void;
changeScrollOfContainer(leftPosition: number): void;
changeScrollOfBarWrap(leftPosition: number): void;
hideBodyScroll(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<BassHorizontalScrollDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<BassHorizontalScrollDirective, "[bassHorizontalScroll]", never, { "tableId": "tableId"; "tableTHeadId": "tableTHeadId"; "tableTHeadTrId": "tableTHeadTrId"; "pageUpdated": "pageUpdated"; "pageDestored": "pageDestored"; }, {}, never>;
}