Monaca Onsen UI Discord Chat Github Repo

Passing an HTMLElement to pushPage



  • Hi All

    Did a google of this but couldn’t find anything specific.

    I am dynamically generating most of my app content based upon configs, is it possible to pass an HTMLElement directly to pushPage without having to stringify it and pass it to options.pageHTML?

    Currently got a bodge on instantPageLoader overriding the createElement if its already an element for testing other stuff, but would be good to know if there is a supported method for this.

    Thanks!



  • Well thanks to this issue, and 2 or 3 other ones that other people have posted about and have gone completely unanswered I’ll just swap to Framework7.