# EffectsBuilder

## Methods

### Fade(Kendo.Mvc.UI.FadeDirection)

Configures the fade effect direction.

#### Parameters

##### direction - [FadeDirection](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/fadedirection)

The fade direction.

#### RETURNS

Returns the current [EffectsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/effectsbuilder) instance.

#### Example

```
 
             .Animation(animation => animation.Close(close => close.Fade(FadeDirection.Out)))
             
```

### Zoom(Kendo.Mvc.UI.ZoomDirection)

Configures the zoom effect direction.

#### Parameters

##### direction - [ZoomDirection](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/zoomdirection)

The zoom direction.

#### RETURNS

Returns the current [EffectsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/effectsbuilder) instance.

#### Example

```
 
             .Animation(animation => animation.Close(close => close.Zoom(ZoomDirection.Out)))
             
```

### SlideIn(Kendo.Mvc.UI.SlideDirection)

Configures the slidein effect direction.

#### Parameters

##### direction - [SlideDirection](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/slidedirection)

The slidein direction.

#### RETURNS

Returns the current [EffectsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/effectsbuilder) instance.

#### Example

```
 
             .Animation(animation => animation.Close(close => close.SlideIn(SlideDirection.Right)))
             
```

### Expand()

Enables the expand effect.

#### RETURNS

Returns the current [EffectsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/effectsbuilder) instance.

#### Example

```
 
             .Animation(animation => animation.Open(open => open.Expand()))
             
```

### Expand(Kendo.Mvc.UI.ExpandDirection)

Configures the expand effect direction.

#### Parameters

##### direction - [ExpandDirection](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/expanddirection)

The expand direction.

#### RETURNS

Returns the current [EffectsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/effectsbuilder) instance.

#### Example

```
 
             .Animation(animation => animation.Open(open => open.Expand(ExpandDirection.Vertical)))
             
```

### Duration(System.Int32)

Sets the animation duration.

#### Parameters

##### value - `System.Int32`

The animation duration.

#### RETURNS

Returns the current [EffectsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/effectsbuilder) instance.

#### Example

```
 
             .Animation(animation => animation.Open(open => open.Duration(200)))
             
```

### Reverse(System.Boolean)

Enables or disables the effect animation reverse.

#### Parameters

##### value - `System.Boolean`

If true, reverses the effect animation.

#### RETURNS

Returns the current [EffectsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/effectsbuilder) instance.

#### Example

```
 
             .Animation(animation => {
                animation.Open(open => open.SlideIn(SlideDirection.Left).Duration(500));
                animation.Close(close => close.SlideIn(SlideDirection.Left).Duration(500).Reverse(true));
             })
             
```

### Duration(Kendo.Mvc.UI.AnimationDuration)

Sets a predefined animation duration (Fast, Normal, Slow).

#### Parameters

##### value - [AnimationDuration](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/animationduration)

The animation duration.

#### RETURNS

Returns the current [EffectsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/effectsbuilder) instance.

#### Example

```
 
             .Animation(animation => animation.Open(open => open.Duration(AnimationDuration.Slow)))
             
```
