Skip to content

Commit

Permalink
fix(alert): add missing cssClass property for buttons
Browse files Browse the repository at this point in the history
Commit 46fe1ff defined the `AlertButton` interface for the `buttons` array, but it's missing the `cssClass` property as described in the **Button options** section of the docs: http://ionicframework.com/docs/v2/api/components/alert/AlertController/#advanced
  • Loading branch information
FdezRomero authored Mar 23, 2017
1 parent e07aad4 commit 4fbcda7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/alert/alert-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ export interface AlertInputOptions {
export interface AlertButton {
text?: string;
role?: string;
cssClass?: string;
handler?: Function;
};

0 comments on commit 4fbcda7

Please sign in to comment.