aboutsummaryrefslogtreecommitdiff
path: root/articles/ui/figs/taler-presence-js.html
diff options
context:
space:
mode:
Diffstat (limited to 'articles/ui/figs/taler-presence-js.html')
-rw-r--r--articles/ui/figs/taler-presence-js.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/articles/ui/figs/taler-presence-js.html b/articles/ui/figs/taler-presence-js.html
new file mode 100644
index 000000000..9b54a7b53
--- /dev/null
+++ b/articles/ui/figs/taler-presence-js.html
@@ -0,0 +1,10 @@
+<script src="taler-wallet-lib.js"></script>
+<script>
+ taler.onPresent(() => {
+
+ });
+
+ taler.onAbsent(() => {
+ alert("Taler isn't installed");
+ });
+</script>