Skip to main content

Simulator

The simulator is used to simulate how Mini Programs behave in the Binance app. You can run the compiled codes of Mini Programs directly in the simulator.

simulator.jpg

The top of the simulator window mainly contains following functions:

  • Device switch: choose different size devices including iOS and Android.

  • Scale control: control the scale of the Mini Program.

  • Text Size: update the device text size.

  • Language: update the device language

  • Network status: update current network status(Wifi,2g,3g,4g...)

  • Theme: trigger the dark mode or light mode

  • Capsule: switch the visible of the capsule

  • Home/Return: mock the scene value when you land your mini program

  • Standalone window: set the simulator to a standalone window(Tap the Debugger ).

    simulator devices.jpgsimulator i18n.jpg