Skip to content

Clear Effects

The clearEffects function is used to clear all effects registered with specific tag. It executes all suitable effects and clears the effects list.

The following example clears all effects registered with the tag.

window.htag.api('1').clearEffects();

The following example clears effects registered with the tags ad:div1 and ad:div2.

window.htag.api('1').clearEffects({ tags: ['ad:div1', 'ad:div2'] });