WebView.onInit

Injects JavaScript code at the initialization of the new page. Every time the webview will open a new page - this initialization code will be executed. It is guaranteed that code is executed before window.onload.

  1. void onInit(string js)
    struct WebView
    void
    onInit
    (
    string js
    )
  2. void onInit()

Meta