Webview Lifecycle

There are different Java Script Methods that you can add to your HTML, which will automatically be called during the life time of the webview:


/* This is called after the webview content has loaded*/
function BTTInitialize() {


/* This is called before the webview exits and destroys its content*/
function BTTWillCloseWindow() {


/* This is called before the webview hides*/
function BTTWillHideWindow() {


/* This is called when the webview becomes visible*/
function BTTWindowWillBecomeVisible() {


/* This is called when a script variable in BTT changes. */
function BTTNotification(note) {
   let data = JSON.parse(note);
   console.log(data.note, data.name);


results matching ""

    No results matching ""