onResume

Page

Registers a function to execute after page resumed.

$m.onResume(function(eventObject) {

$m.toast("Page resumed.");

});

Syntax

        $m.onResume(fp_onresume[, context])

Parameters

fp_onresume

function (required)

Function to execute after the page resumed.

context

Object (optional)

Context in which the function should execute. If not provided, the function will be executed in window context.