2 Wii U Dialog API
Jay edited this page 2020-11-27 23:15:34 -06:00

wiiuDialog is a global JavaScript object that exposes an API for interacting with specific functions of the Miiverse Applet.

Methods

showLoading()

  • Usage:

    Shows the loading symbol in the corner of the screen

hideLoading()

  • Usage:

    Hides the loading symbol in the corner of the screen

confirm(message, leftBTN, rightBTN)

  • Arguments:

    • {String} Message String
    • {String} Left Button Label
    • {String} Right Button Label
  • Returns: {bool}

  • Usage:

    Shows a confirmation box with the inputted strings. returns true if right button is chosen, and false if the left button is chosen

alert(message, btnText)

  • Arguments:

    • {String} Message String
    • {String} Button Label
  • Usage:

    Shows an alert box with the inputted strings.