Files
ionic-framework/core/src/components/action-sheet/action-sheet-interface.ts
2018-08-13 18:32:24 +02:00

18 lines
408 B
TypeScript

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