Skip to content

Module: Persist resume

Haoxi Tan edited this page Jan 9, 2020 · 2 revisions

Summary

  • Objective: Persist over applications sleep/wake events

  • Authors: mh

  • Browsers: All (Requires PhoneGap API)

  • Code

Internal Working

adds an event listener for persistence upon the "resume" event

document.addEventListener("resume", beef_init(), false);
result = 'success';

Feedback

Clone this wiki locally