Skip to content

Commit

Permalink
📝 Add layerChanged event example to al-event-listeners.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Xen0Xys committed Jul 16, 2024
1 parent 6461e41 commit 626c00a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/al-event-listeners.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@
console.log(proj)
});

aladin.on('layerChanged', function(imageLayer, layer){
console.log(imageLayer, layer)
});

cat.sources[0].actionClicked();
});
</script>
Expand Down

0 comments on commit 626c00a

Please sign in to comment.