ng-zorro-antd-mobile
Version:
An enterprise-class mobile UI components based on Ant Design and Angular
36 lines (35 loc) • 1.47 kB
TypeScript
import { TemplateRef } from '@angular/core';
import * as i0 from "@angular/core";
export declare class ActionSheetOptions {
prefixCls?: string;
maskClosable?: boolean;
cancelButtonIndex?: number;
destructiveButtonIndex?: number;
title?: string | TemplateRef<any>;
message?: string | TemplateRef<any>;
className?: string;
transitionName?: string;
maskTransitionName?: string;
locale?: any;
close?: () => void;
static ɵfac: i0.ɵɵFactoryDeclaration<ActionSheetOptions, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ActionSheetOptions>;
}
export declare class ShareOption {
icon: string | TemplateRef<any>;
title: string;
static ɵfac: i0.ɵɵFactoryDeclaration<ShareOption, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ShareOption>;
}
export declare class ShareActionSheetWithOptions extends ActionSheetOptions {
options: ShareOption[] | ShareOption[][];
cancelButtonText?: string;
static ɵfac: i0.ɵɵFactoryDeclaration<ShareActionSheetWithOptions, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ShareActionSheetWithOptions>;
}
export declare class ActionSheetWithOptions extends ActionSheetOptions {
options: string[];
static ɵfac: i0.ɵɵFactoryDeclaration<ActionSheetWithOptions, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ActionSheetWithOptions>;
}
export type ActionCallBack = (index: number, rowIndex?: number) => PromiseLike<any> | void;