@nativescript-community/ui-persistent-bottomsheet
Version:
NativeScript plugin that allows you to easily add a persistent bottomsheet to your projects.
43 lines (42 loc) • 2.17 kB
TypeScript
import { ElementRef, EmbeddedViewRef, TemplateRef, ViewContainerRef } from '@angular/core';
import { PersistentBottomSheet } from '@nativescript-community/ui-persistent-bottomsheet';
import * as i0 from "@angular/core";
export interface ItemEventArgs {
object: any;
view: EmbeddedViewRef<any>;
returnValue?: boolean;
}
export declare class BottomSheetComponent {
elementRef: ElementRef;
private viewContainer;
pbs: PersistentBottomSheet;
bottomSheetTemplate: TemplateRef<ElementRef>;
private _gestureEnabled;
private _stepIndex;
constructor(elementRef: ElementRef, viewContainer: ViewContainerRef);
get nativeElement(): PersistentBottomSheet;
get gestureEnabled(): boolean;
set gestureEnabled(value: boolean);
get stepIndex(): number;
set stepIndex(value: number);
get backdropColor(): any;
set backdropColor(value: any);
get scrollViewId(): string;
set scrollViewId(value: string);
get panGestureOptions(): any;
set panGestureOptions(value: any);
static ɵfac: i0.ɵɵFactoryDeclaration<BottomSheetComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<BottomSheetComponent, "BottomSheet", never, { "gestureEnabled": "gestureEnabled"; "stepIndex": "stepIndex"; "backdropColor": "backdropColor"; "scrollViewId": "scrollViewId"; "panGestureOptions": "panGestureOptions"; }, {}, never, ["*"], false>;
}
export declare class BottomSheetDirective {
private _elementRef;
constructor(_elementRef: ElementRef);
static ɵfac: i0.ɵɵFactoryDeclaration<BottomSheetDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<BottomSheetDirective, "[bottomSheet]", never, {}, {}, never, never, false>;
}
export declare const PERSISTENTBOTTOMSHEET_DIRECTIVES: (typeof BottomSheetDirective)[];
export declare class BottomSheetModule {
static ɵfac: i0.ɵɵFactoryDeclaration<BottomSheetModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<BottomSheetModule, [typeof BottomSheetComponent, typeof BottomSheetDirective], never, [typeof BottomSheetComponent, typeof BottomSheetDirective]>;
static ɵinj: i0.ɵɵInjectorDeclaration<BottomSheetModule>;
}