mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Improve IonicActionSheetOptions
Ref: http://ionicframework.com/docs/api/service/$ionicActionSheet/
This commit is contained in:
Vendored
+6
-3
@@ -102,14 +102,17 @@ declare module ionic {
|
||||
interface IonicActionSheetService {
|
||||
show(options: IonicActionSheetOptions): ()=>void;
|
||||
}
|
||||
interface IonicActionSheetButton {
|
||||
text: string;
|
||||
}
|
||||
interface IonicActionSheetOptions {
|
||||
buttons?: Array<any>;
|
||||
buttons?: Array<IonicActionSheetButton>;
|
||||
titleText?: string;
|
||||
cancelText?: string;
|
||||
destructiveText?: string;
|
||||
cancel?: ()=>any;
|
||||
buttonClicked?: (index: any)=>any;
|
||||
destructiveButtonClicked?: ()=>any;
|
||||
buttonClicked?: (index: number)=>boolean;
|
||||
destructiveButtonClicked?: ()=>boolean;
|
||||
cancelOnStateChange?: boolean;
|
||||
cssClass?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user