diff --git a/demos/toggle/index.ts b/demos/toggle/index.ts index 405e893db7..d5b8f8cbc1 100644 --- a/demos/toggle/index.ts +++ b/demos/toggle/index.ts @@ -3,4 +3,23 @@ import {App} from 'ionic/ionic'; @App({ templateUrl: 'main.html' }) -class ApiDemoApp {} +class ApiDemoApp { + data; + + constructor() { + this.data = { + frodo: true, + sam: false, + eowyn: true, + legolas: true, + gimli: false, + saruman: true, + gandalf: true, + arwen: false, + boromir: false, + gollum: true, + galadriel: false + }; + } + +} diff --git a/demos/toggle/main.html b/demos/toggle/main.html index bff709b020..852cdca313 100644 --- a/demos/toggle/main.html +++ b/demos/toggle/main.html @@ -7,65 +7,59 @@ Frodo Baggins - + Sam - + - Éowyn - + Éowyn + - Legolas - - + Legolas + Gimli - + Saruman - + Gandalf - + Arwen - - - - - Treebeard - + Boromir - + Gollum - + Galadriel - + - +