I want to add tabs in OnsenUI to Notepad samples

Asked 1 years ago, Updated 1 years ago, 95 views

Thank you for your help.

I would like to add a tab sample function to the Notepad sample.

<ons-tabbar>
    <ons-tabicon="home" label="Home" page="StopWatch.html" active="true">/ons-tab>
    <ons-tabicon="comment" label="Comments" page="page2.html">/ons-tab>
    <ons-tabicon="gear" label="Settings" page="page3.html">/ons-tab>
</ons-tabbar>

I thought it would be possible to copy the above and create the HTML, but I can't.

I am very sorry for the rudimentary question, but I would appreciate it if you could answer it.

javascript monaca onsen-ui html5

2022-09-30 18:12

1 Answers

This information alone is a guess, but
Perhaps the Onsen UI is not applied on the target page.

Are the following descriptions written on the target page?

<link rel="stylesheet" href="css/onsenui.css">


2022-09-30 18:12

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.