report/SessionStorageReporter
Source: SessionStorageReporter.js:32
File : report/SessionStorageReporter.js
Created : 06/09/2017
By : Francesc Busquets francesc@gmail.com
JClic.js
An HTML5 player of JClic activities
https://projectestac.github.io/jclic.js
- License: EUPL-1.2
Other
SessionStorageReporter
Extends: module:reports/Reporter.Reporter
This JClic Reporter writes persistent data to the browser local session storage. It uses some of
the JClic Reports API.
Connection parameters (key, context...) are passed through the options element of JClicPlayer (acting as JClicPlayer).
Set storage=local in options to store reports in [window.localStorage]https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage
instead of [window.sessionStorage]https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage (default).
Parameters
ps(module:JClicPlayer.JClicPlayer) — The JClicPlayer used to retrieve settings and localized messages