You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 7, 2026. It is now read-only.
Kris Erickson edited this page Jan 21, 2014
·
1 revision
1. Create a templates directory, and add a page called home.ejs
<divid="home"><divclass="topcoat-navigation-bar"><!-- Navigation bar --><divclass="topcoat-navigation-bar__item center full"><h1class="topcoat-navigation-bar__title">Topcoat Touch</h1></div></div><divclass="content scrollable"><!-- containers with the class scrollable are automatically hooked into iscroll -->
...Content goes here
</div></div>
2. Initialize your page
(function(){// Create the topcoatTouch objectvartt=newTopcoatTouch();tt.createController('home');});
3. Run the app in your browser
4. For more details checkout [the MVC Sample Application]((//github.com/kriserickson/topcoat-touch/tree/master/examples/mvc)