ng-zorro-antd-mobile
Version:
An enterprise-class mobile UI components based on Ant Design and Angular
21 lines (20 loc) • 1.37 kB
TypeScript
import { ComponentRef, ComponentFactory, ApplicationRef, ComponentFactoryResolver } from '@angular/core';
import { ActionSheetComponent } from './action-sheet.component';
import { ActionCallBack, ActionSheetOptions, ActionSheetWithOptions, ShareActionSheetWithOptions } from './action-sheet-options.provider';
import { ActionSheetSubject } from './action-sheet-subject.service';
export declare class ActionSheet {
private _appRef;
private _cfr;
static compRef: ComponentRef<any>;
static _actionSheetCompFactory: ComponentFactory<ActionSheetComponent>;
static appRef: ApplicationRef;
static instance: any;
constructor(_appRef: ApplicationRef, _cfr: ComponentFactoryResolver);
static _initConfig(config: ActionSheetOptions, options?: Object): ActionSheetOptions;
static _open(props: ActionSheetOptions, factory: ComponentFactory<any>): ActionSheetSubject;
static createActionSheet(flag: string, config: ActionSheetWithOptions | ShareActionSheetWithOptions, callback: ActionCallBack): ActionSheetSubject;
static closeWithAnimation(transitionName: any, maskTransitionName: any): void;
static showActionSheetWithOptions(config: ActionSheetWithOptions, callback?: ActionCallBack): void;
static showShareActionSheetWithOptions(config: ShareActionSheetWithOptions, callback?: ActionCallBack): void;
static close(): void;
}