Files
Brandy Carney 78c2ecc84f docs(demos): add title demo which uses the toolbar demo but hides some
Hiding any toolbars that don’t use ion-title for the title demo only

references driftyco/ionic-site#397
2016-02-05 12:17:56 -05:00

16 lines
347 B
TypeScript

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";
}
}