HISE Logo Forum
    • Categories
    • Register
    • Login

    Webview | Is it possible to call setIndexFile after initialization?

    Scheduled Pinned Locked Moved Solved General Questions
    2 Posts 1 Posters 38 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • bendursoB
      bendurso
      last edited by

      I'd like to set it with a button, but I get the error "Frame load interrupted."

      I'm trying this approach because I don't want the website to load every time the plugin opens — only when the user clicks a button.

      bendursoB 1 Reply Last reply Reply Quote 0
      • bendursoB
        bendurso @bendurso
        last edited by

        @bendurso I came up with another solution that worked. First, I load an HTML page with a spinner, and then I use WebView.callFunction from the button to run a script that loads the actual page.

        1 Reply Last reply Reply Quote 0
        • bendursoB bendurso marked this topic as a question
        • bendursoB bendurso has marked this topic as solved
        • First post
          Last post

        23

        Online

        1.8k

        Users

        12.2k

        Topics

        106.3k

        Posts