Community Advisor
September 2, 2024
Hi @asp_corp
You can use a custom event type with the following code.
document.addEventListener('click', function(event) {
var element = event.target;
if (element.classList.contains('align-L2-content') &&
element.classList.contains('pl-1') &&
element.classList.contains('hyber-link')) {
// Trigger your event here
trigger()
}
});This code if the element which is getting click contains all three classes or not (you modify the code as per your additional requirements)
