Files
ionic-framework/src/components/alert/alert-options.ts
Manu Mtz.-Almeida 505ee58407 Merge branch '10590-alert-input-min-max-attributes' of https://github.com/TomDemulierChevret/ionic
# Conflicts:
#	src/components/alert/alert-component.ts
#	src/components/alert/alert-options.ts
2017-03-15 17:03:30 +01:00

32 lines
599 B
TypeScript

export interface AlertOptions {
title?: string;
subTitle?: string;
message?: string;
cssClass?: string;
mode?: string;
inputs?: AlertInputOptions[];
buttons?: (AlertButton|string)[];
enableBackdropDismiss?: boolean;
}
export interface AlertInputOptions {
type?: string;
name?: string | number;
placeholder?: string;
value?: string;
label?: string;
checked?: boolean;
disabled?: boolean;
id?: string;
handler?: Function;
min?: string | number;
max?: string | number;
}
export interface AlertButton {
text?: string;
role?: string;
handler?: Function;
};