startValue

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.

Example

<div id="startExample">
    Start Value Example
</div>
<script>
// Fade out starting from 75% opacity
kendo.fx($("#startExample")).fade("out").startValue(0.75).play();
</script>

Fading an element out, starting from 50%

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

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

Parameters

value Number

the initial opacity value.

Returns

Effect The effect instance

In this article
startValue
Not finding the help you need?
Contact Support