From 626c00a6bbb13a7688ed9a29bf56e541425bead6 Mon Sep 17 00:00:00 2001 From: Xen0Xys Date: Tue, 16 Jul 2024 15:32:57 +0200 Subject: [PATCH] :memo: Add layerChanged event example to al-event-listeners.html --- examples/al-event-listeners.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/al-event-listeners.html b/examples/al-event-listeners.html index 51d8fe5b..aed24c0d 100644 --- a/examples/al-event-listeners.html +++ b/examples/al-event-listeners.html @@ -60,6 +60,10 @@ console.log(proj) }); + aladin.on('layerChanged', function(imageLayer, layer){ + console.log(imageLayer, layer) + }); + cat.sources[0].actionClicked(); });