Skip to content

Tag: events

Detect attachShadow event

I’d like to detect an event of attaching shadow to the host element. Use-case: using MutationObserver to watch any DOM changes and post-process the changed content as part of binding (tying) framework’s logic. Why do I need to detect this event? In order to be able to watch for a changes within th…

GA send event, returns undefined

Innit GA Track event But this allways return undefined, And I added the ‘Registration’ event (with that category, label and value) in conversions, at google analytics site, Any idea why this could happen? Of course it isn’t tracked.. Answer You are mixing old-style classic syntax (using the …