endValue

Sets the final 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="endExample">
    End Value Example
</div>
<script>
// Fade in to 25% opacity
kendo.fx($("#endExample")).fade("in").endValue(0.25).play();
</script>

Fading an element in to 50% opacity

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

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

Parameters

value Number

the final opacity value.

Returns

Effect The effect instance

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