So any info on the behaviour change of
So any info on the behaviour change of zarazConsentAPIReady ? Can we maybe have a zarazModalReady ?
5 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Im waiting for zarazConsentAPIReady to do get the modal's object ( document.querySelector('.cf_modal_container').shadowRoot; ) and do some modifications to it/apply styling.
Now zarazConsentAPIReady is firing before the modal is in the dom so my current code results in an error.
I realize that i could use a mutation-observer instead but i would prefer using an event emitted by zaraz itself
Wait zarazConsentAPIReady
zarazConsentAPIReady at 418 ms Modal container exists at: 436 ms - 18 Shadow root exists at: 438 ms - 2
zarazConsentAPIReady at 418 ms Modal container exists at: 436 ms - 18 Shadow root exists at: 438 ms - 2
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
zarazConsentAPIReady refers to the API itself being accessible. <- clearly, up until recently it coincidently fired after the modal was addded thou.
Would apreciate a headsup when the events are in
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View