style(): move interface to top
This commit is contained in:
parent
1358411b80
commit
3a8e958684
@ -1,5 +1,49 @@
|
|||||||
import { Cordova, Plugin } from './plugin';
|
import { Cordova, Plugin } from './plugin';
|
||||||
|
|
||||||
|
export interface ActionSheetOptions {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The labels for the buttons. Uses the index x
|
||||||
|
*/
|
||||||
|
buttonLabels: string[];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The title for the actionsheet
|
||||||
|
*/
|
||||||
|
title?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Theme to be used on Android
|
||||||
|
*/
|
||||||
|
androidTheme?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Enable a cancel on Android
|
||||||
|
*/
|
||||||
|
androidEnableCancelButton?: boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Enable a cancel on Windows Phone
|
||||||
|
*/
|
||||||
|
winphoneEnableCancelButton?: boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add a cancel button with text
|
||||||
|
*/
|
||||||
|
addCancelButtonWithLabel?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add a destructive button with text
|
||||||
|
*/
|
||||||
|
addDestructiveButtonWithLabel?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* On an iPad, set the X,Y position
|
||||||
|
*/
|
||||||
|
position?: number[];
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Action Sheet
|
* @name Action Sheet
|
||||||
* @description
|
* @description
|
||||||
@ -51,47 +95,3 @@ export class ActionSheet {
|
|||||||
static hide(options?: any): Promise<any> { return; }
|
static hide(options?: any): Promise<any> { return; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ActionSheetOptions {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The labels for the buttons. Uses the index x
|
|
||||||
*/
|
|
||||||
buttonLabels: string[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The title for the actionsheet
|
|
||||||
*/
|
|
||||||
title?: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Theme to be used on Android
|
|
||||||
*/
|
|
||||||
androidTheme?: number;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Enable a cancel on Android
|
|
||||||
*/
|
|
||||||
androidEnableCancelButton?: boolean;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Enable a cancel on Windows Phone
|
|
||||||
*/
|
|
||||||
winphoneEnableCancelButton?: boolean;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Add a cancel button with text
|
|
||||||
*/
|
|
||||||
addCancelButtonWithLabel?: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Add a destructive button with text
|
|
||||||
*/
|
|
||||||
addDestructiveButtonWithLabel?: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* On an iPad, set the X,Y position
|
|
||||||
*/
|
|
||||||
position?: number[];
|
|
||||||
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user