# NotificationEventBuilder

## Methods

### Hide(System.String)

Defines the handler of the Hide client-side event. Fires when a notification's hiding animation starts.

For more information see [Hide](https://docs.telerik.com/kendo-ui/api/ui/notification/events/hide) event.

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will handle the Hide event.

#### RETURNS

Returns the current instance of [NotificationEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/notificationeventbuilder) .

#### Example

```
 
             @( Html.Kendo().Notification()
                        .Name("Notification")
                        .Events(events => events.Hide("onHide"))
            )
             
```

### Hide(System.Func)

Defines the handler of the Hide client-side event. Fires when a notification's hiding animation starts.

For more information see [Hide](https://docs.telerik.com/kendo-ui/api/ui/notification/events/hide) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [NotificationEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/notificationeventbuilder) .

#### Example

```
 
             @( Html.Kendo().Notification()
                       .Name("Notification")
                       .Events(events => events.Hide(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
                       .Render();
            )
             
```

### Show(System.String)

Defines the handler of the Show client-side event. Fires when a notification's showing animation starts.

For more information see [Show](https://docs.telerik.com/kendo-ui/api/ui/notification/events/show) event.

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will handle the Show event.

#### RETURNS

Returns the current instance of [NotificationEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/notificationeventbuilder) .

#### Example

```
 
             @( Html.Kendo().Notification()
                        .Name("Notification")
                        .Events(events => events.Show("onShow"))
            )
             
```

### Show(System.Func)

Defines the handler of the Show client-side event. Fires when a notification's showing animation starts.

For more information see [Show](https://docs.telerik.com/kendo-ui/api/ui/notification/events/show) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [NotificationEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/notificationeventbuilder) .

#### Example

```
 
             @( Html.Kendo().Notification()
                       .Name("Notification")
                       .Events(events => events.Show(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
                       .Render();
            )
             
```
