Hi @nolimits4web , I’m using the "core"version with the latest release.
I’ve got a dynamic popover and I need when the user clicks on each option, to close the popover.
This is my code :
I need that each < a > closes the popover when it’s get clicked, specially the ones that area external-links. how can I handle it?
because it ignores me these events:
popover.on('click', function () {
console.log("click popover1");
// popover.close();
});
$$(document).on('click', '.close-on-click', function(e)
{
console.log("click popover2");
// popover.close();
});
$$(".popover-phone").on('click', '.close-on-click', function(e)
{
console.log("click popover3");
// popover.close();
});
Thanks in advance.