Files
ionic-framework/core/src/components/action-sheet/action-sheet-interface.ts
2018-04-27 18:25:49 +02:00

19 lines
415 B
TypeScript

export interface ActionSheetOptions {
header?: string;
subHeader?: string;
cssClass?: string | string[];
buttons: (ActionSheetButton | string)[];
enableBackdropDismiss?: boolean;
translucent?: boolean;
}
export interface ActionSheetButton {
text?: string;
role?: 'cancel' | 'destructive' | 'selected' | string;
icon?: string;
cssClass?: string | string[];
handler?: () => boolean | void;
}