mouseOutContainer

Sent when the mouse cursor leave a container.

Result

Name

Type

Description

container

Container

The container clicked

const fnoToken = "<YOUR-FNO-TOKEN>"; // provide from backoffice
const fnoMapId = "<MAP-ID>" // id of the map to load
let FnoMapManager;

// wait page is loaded
window.addEventListener("load", function(){
// sdk is definied in the global variable "FnoMapManager" in window object
FnoMapManager = window.FnoMapManager;
FnoMapManager.initViewerMode(fnoToken);
FnoMapManager.loadMap(idMap, 'MapContainer', function(){
// register event once map is loaded
FnoMapManager.registerEvent('mouseOutContainer' ,(data) => {
console.log("mouse leave container", data);
});
})
});


On This Page
mouseOutContainer