@taiga-ui/addon-mobile
Version:
Extension package for Taiga UI that adds support for mobile specific behaviors such as custom data pickers, dropdowns, etc.
28 lines (27 loc) • 1.53 kB
TypeScript
import { type AfterViewInit, type OnDestroy } from '@angular/core';
import { type TuiSwipeEvent } from '@taiga-ui/cdk/directives/swipe';
import { TuiDropdownDirective } from '@taiga-ui/core/directives/dropdown';
import { TuiDropdownMobile } from './dropdown-mobile.directive';
import * as i0 from "@angular/core";
import * as i1 from "@taiga-ui/cdk/directives/active-zone";
import * as i2 from "@taiga-ui/cdk/directives/animated";
export declare class TuiDropdownMobileComponent implements OnDestroy, AfterViewInit {
private readonly el;
private readonly keyboard;
private readonly doc;
private readonly scrollTop;
private readonly observer;
protected readonly directive: TuiDropdownMobile;
protected readonly dropdown: TuiDropdownDirective;
constructor();
ngAfterViewInit(): void;
ngOnDestroy(): void;
protected readonly close: () => void;
protected onClick(event: MouseEvent): void;
protected onSwipe({ direction }: TuiSwipeEvent, el: HTMLElement): void;
protected onIntersection({ isIntersecting }: IntersectionObserverEntry): void;
protected refresh({ offsetTop, height }: VisualViewport): void;
private get focused();
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownMobileComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TuiDropdownMobileComponent, "tui-dropdown-mobile", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiActiveZone; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiAnimated; inputs: {}; outputs: {}; }]>;
}