Webportal v1

embedded apps

API Reference - Privacy.ModePublic

Privacy.ModePublic

Type Event
wave 3
wave 4

Event triggered when the Public privacy mode is selected.

Example

1
2
3
4
5
6
7
8
9
10
try {
	// Privacy
	if ((typeof Privacy !== "undefined") && (typeof Privacy.addEventListener !== "undefined")) {
		Privacy.addEventListener("ModePublic", function(){
			alert("Public privacy mode is now active");
		});
	}
} catch(e) {
	DealWithPrivacyError(e);
}

Appeared in Wave 4.1 - version 30.05.14.30