mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-12 15:49:18 -08:00
📝 Add documentation for layerChanged event
This commit is contained in:
committed by
Matthieu Baumann
parent
746e20f2f0
commit
80f48331df
@@ -2022,6 +2022,10 @@ aladin.on('objectClicked', function(object, xyMouseCoords) {
|
||||
aladin.on("positionChanged", ({ra, dec}) => {
|
||||
console.log("positionChanged", ra, dec)
|
||||
})
|
||||
|
||||
aladin.on("layerChanged", (imageHips, layerName, state) => {
|
||||
console.log("positionChanged", imageHips, layerName, state)
|
||||
})
|
||||
*/
|
||||
Aladin.prototype.on = function (what, myFunction) {
|
||||
if (Aladin.AVAILABLE_CALLBACKS.indexOf(what) < 0) {
|
||||
|
||||
Reference in New Issue
Block a user