apply

HTML (DHTML)

apply Method

Internet Development Index

Captures the initial display of an object's content for a transition.

Syntax

object.filters.item(
    "DXImageTransform.Microsoft.filter-name").apply()

Return Value

No return value.

Remarks

Once the apply method is called, changes to the object's properties are not displayed until you call the play method to start the transition.

Note   You must change the style.visibility property for a child element to be part of the transition. Otherwise, changes to child element properties are displayed immediately.

When you call the play method, the transition reveals the resulting changes in content (object property and child element style.visibility changes).

Applies To

BlendTrans, RevealTrans, Barn, Blinds, Compositor, Fade, GradientWipe, Inset, Iris, Pixelate, RadialWipe, RandomBars, RandomDissolve, Slide, Spiral, Stretch, Strips, Wheel, Zigzag