UNPKG

@taiga-ui/addon-mobile

Version:

Extension package for Taiga UI that adds support for mobile specific behaviors such as custom data pickers, dropdowns, etc.

22 lines (21 loc) 977 B
import { InjectionToken, type Provider } from '@angular/core'; import { type TuiPopover } from '@taiga-ui/cdk/services'; import { type PolymorpheusContent } from '@taiga-ui/polymorpheus'; import { type Observable } from 'rxjs'; export interface TuiSheetDialogOptions<I = undefined> { readonly closeable: Observable<boolean> | boolean; readonly data: I; readonly initial: number; readonly label: PolymorpheusContent<TuiPopover<TuiSheetDialogOptions<I>, any>>; readonly offset: number; readonly stops: readonly string[]; readonly bar: boolean; readonly fullscreen: boolean; readonly required: boolean; } export declare const TUI_SHEET_DIALOG_DEFAULT_OPTIONS: TuiSheetDialogOptions; /** * Default parameters for mobile dialog component */ export declare const TUI_SHEET_DIALOG_OPTIONS: InjectionToken<TuiSheetDialogOptions<undefined>>; export declare function tuiSheetDialogOptionsProvider(options: Partial<TuiSheetDialogOptions>): Provider;