diff --git a/demos/title/index.ts b/demos/title/index.ts new file mode 100644 index 0000000000..a5f2e1e2f4 --- /dev/null +++ b/demos/title/index.ts @@ -0,0 +1,15 @@ +import {App} from 'ionic/ionic'; + +// Use the toolbar demo but pass in the demo name to change the title +// this will also hide some of the toolbars that don't use `ion-title` +@App({ + templateUrl: '../toolbar/main.html' +}) +class ApiDemoApp { + constructor() { + this.demo = "Title"; + + this.favorites = "recent"; + this.apps = "free"; + } +} diff --git a/demos/toolbar/main.html b/demos/toolbar/main.html index 97d077c134..c36149593e 100644 --- a/demos/toolbar/main.html +++ b/demos/toolbar/main.html @@ -93,7 +93,7 @@ - +