From 4fbcda74402bb0464587e8faef5cc1a6cc136753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Fern=C3=A1ndez?= Date: Thu, 23 Mar 2017 12:52:15 +0100 Subject: [PATCH] fix(alert): add missing cssClass property for buttons Commit 46fe1ff53cfc2cfef152b560d01882eebca8c678 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 --- src/components/alert/alert-options.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/alert/alert-options.ts b/src/components/alert/alert-options.ts index 74c9804ba5..39cd2e8030 100644 --- a/src/components/alert/alert-options.ts +++ b/src/components/alert/alert-options.ts @@ -27,5 +27,6 @@ export interface AlertInputOptions { export interface AlertButton { text?: string; role?: string; + cssClass?: string; handler?: Function; };