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.

Different ons-splitter on each page

  • Hi,
    is it possible to display a ons-splitter with different “ons-splitter-side” content on different pages?
    What I’d like to achieve is to have the following situation:

    • index.html
      – ons-spliiter-side
      — ons-splitter-side-item A
      — ons-splitter-side-item C
      — etc

    Let’s say “ons-splitter-side-item A” is a link to “different-page.html” where I’d like to display another “ons-splitter-side”.

    • different-page.html
      – ons-spliiter-side
      — ons-splitter-side-item X
      — ons-splitter-side-item Y
      — etc

    I’ve tried to create “different-page.html” with a <ons-splitter><ons-splitter-side>…<ons-splitter-content>…</ons-splitter-side></ons-splitter-content> with its own values but I keep getting the splitter from “index.html”.

    Any suggestion?