New to Kendo UI for jQuery? Start a free 30-day trial

StartValue

methods

Sets the initial opacity value of the element. 1 means the element will be fully opaque. 0 means that the element will be fully transparent.

Fading an element out, starting from 50%

<div id="foo">
    Foo
</div>

<script>
    kendo.fx($("#foo")).fade("out").startValue(0.5).play();
</script>
Parameters:valueNumber

the initial opacity value.

Returns:Effect

The effect instance

<div id="startExample">
    Start Value Example
</div>
<script>
// Fade out starting from 75% opacity
kendo.fx($("#startExample")).fade("out").startValue(0.75).play();
</script>
Not finding the help you need?
Contact Support