UNPKG

@webilix/ngx-helper-m3

Version:

Helper library for Angular and Material 3

20 lines (19 loc) 1.03 kB
import { ElementRef, OnInit } from '@angular/core'; import { INgxHelperConfig } from '../ngx-helper.config'; import * as i0 from "@angular/core"; export declare class NgxHelperStickyDirective implements OnInit { private readonly elementRef; private readonly config?; ngxHelperSticky: 'TOP' | 'BOTTOM'; stickyIn: 'ALWAYS' | 'DESKTOP' | 'MOBILE'; zIndex?: number; private mobileWidth; private stickyView; private isMobile; constructor(elementRef: ElementRef, config?: Partial<INgxHelperConfig> | undefined); ngOnInit(): void; onResize(): void; setPosition(): void; static ɵfac: i0.ɵɵFactoryDeclaration<NgxHelperStickyDirective, [null, { optional: true; }]>; static ɵdir: i0.ɵɵDirectiveDeclaration<NgxHelperStickyDirective, "[ngxHelperSticky]", never, { "ngxHelperSticky": { "alias": "ngxHelperSticky"; "required": true; }; "stickyIn": { "alias": "stickyIn"; "required": false; }; "zIndex": { "alias": "zIndex"; "required": false; }; }, {}, never, never, true, never>; }