diff --git a/demos/tabs/index.ts b/demos/tabs/index.ts new file mode 100644 index 0000000000..8807633159 --- /dev/null +++ b/demos/tabs/index.ts @@ -0,0 +1,6 @@ +import {App} from 'ionic/ionic'; + +@App({ + templateUrl: 'main.html', +}) +class ApiDemoApp {} diff --git a/demos/tabs/main.html b/demos/tabs/main.html new file mode 100644 index 0000000000..5228e8a13d --- /dev/null +++ b/demos/tabs/main.html @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ionic/components/tabs/tab.ts b/ionic/components/tabs/tab.ts index 18a96d7a5c..fda936de71 100644 --- a/ionic/components/tabs/tab.ts +++ b/ionic/components/tabs/tab.ts @@ -76,6 +76,7 @@ import {TabButton} from './tab-button'; * @property {String} [tabBadgeStyle] - set the badge color for this tab * @property {Any} (select) - method to call when the current tab is selected * + * @demo /docs/v2/demos/tabs/ */ @Component({ selector: 'ion-tab', diff --git a/ionic/components/tabs/tabs.ts b/ionic/components/tabs/tabs.ts index 06879daaf0..bbc79301d3 100644 --- a/ionic/components/tabs/tabs.ts +++ b/ionic/components/tabs/tabs.ts @@ -36,6 +36,7 @@ import {isUndefined, isTrueProperty} from '../../util/util'; * individual Tab components. On iOS, the TabBar is placed on the bottom of * the screen, while on Android it is at the top. * + * @demo /docs/v2/demos/tabs/ * @see {@link /docs/v2/components#tabs Tabs Component Docs} * @see {@link ../Tab Tab API Docs} */