Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
ons-template
-
Define a separate HTML fragment and use as a template. These templates can be loaded as pages in
<ons-navigator>
,<ons-tabbar>
and<ons-splitter>
. They can also be used to generate dialogs.Click here to see the original article
-
how can i show and display the template by js?
-
@ฟ้า-ลาสุนนท์ Have a look at the fundamentals guide.
-
What is the difference between ons-page and template? When to use ons-page and when to use template?
-
@icangeek Basically, just use
ons-page
andtemplate
and don’t bother aboutons-template
.