diff --git a/demos/switch/app.html b/demos/switch/app.html new file mode 100644 index 0000000000..5f6bb33d68 --- /dev/null +++ b/demos/switch/app.html @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/demos/switch/index.ts b/demos/switch/index.ts new file mode 100644 index 0000000000..a1884eb2c1 --- /dev/null +++ b/demos/switch/index.ts @@ -0,0 +1,20 @@ +import {App, Page, IonicApp} from 'ionic/ionic'; + +@App({ + templateUrl: 'app.html' +}) +class ApiDemoApp { + + constructor() { + this.rootPage = InitialPage; + } +} + +@Page({ + templateUrl: 'main.html' +}) +export class InitialPage { + constructor() { + } +} + diff --git a/demos/switch/main.html b/demos/switch/main.html new file mode 100644 index 0000000000..2862acac89 --- /dev/null +++ b/demos/switch/main.html @@ -0,0 +1,57 @@ + + Switch + + + + + + Frodo Baggins + + + + Sam + + + + Éowyn + + + + Legolas + + + + Gimli + + + + Saruman + + + + Gandalf + + + + Arwen + + + + Treebeard + + + + Boromir + + + + Gollum + + + + Galadriel + + + + + diff --git a/ionic/components/switch/switch.ts b/ionic/components/switch/switch.ts index 5f153b8b02..bdbce9c3cf 100644 --- a/ionic/components/switch/switch.ts +++ b/ionic/components/switch/switch.ts @@ -67,7 +67,7 @@ class MediaSwitch { * * * ``` - * + * @demo /docs/v2/demos/switch/ * @see {@link /docs/v2/components#switch Switch Component Docs} */ @Component({