# PopupAnimationBuilder

## Methods

### Enable(System.Boolean)

Enables or disables the animation.

#### Parameters

##### enable - `System.Boolean`

Specifies whether the animation is enabled.

#### Example

```
 
             .Animation(animation => animation.Enable(false))
             
```

### Open(System.Action)

The Open settings.

#### Parameters

##### effectsAction - System.Action<[EffectsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/effectsbuilder)>

The configuration action.

#### RETURNS

Returns the current instance of [PopupAnimationBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/popupanimationbuilder) to allow method chaining.

#### Example

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

### Close(System.Action)

The Close settings.

#### Parameters

##### effectsAction - System.Action<[EffectsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/effectsbuilder)>

The configuration action.

#### RETURNS

Returns the current instance of [PopupAnimationBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/popupanimationbuilder) to allow method chaining.

#### Example

```
 
             .Animation(animation => animation.Close(close => close.Duration(200)))
             
```
