ChipEventBuilder

Methods

Click(System.String)

Fires when the user clicks the content of the Chip or activates it with the Enter or Space keys.

For more information see Click event.

Parameters

handler - System.String

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

RETURNS

Returns the current instance of ChipEventBuilder .

Click(System.Func)

Fires when the user clicks the content of the Chip or activates it with the Enter or Space keys.

For more information see Click event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of ChipEventBuilder .

Select(System.String)

Fires when the selection of a selectable the Chip toggles.

For more information see Select event.

Parameters

handler - System.String

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

RETURNS

Returns the current instance of ChipEventBuilder .

Select(System.Func)

Fires when the selection of a selectable the Chip toggles.

For more information see Select event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of ChipEventBuilder .

Remove(System.String)

Fires when the user clicks the remove icon of the Chip. After this event, the Chip will not remove itself.

For more information see Remove event.

Parameters

handler - System.String

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

RETURNS

Returns the current instance of ChipEventBuilder .

Remove(System.Func)

Fires when the user clicks the remove icon of the Chip. After this event, the Chip will not remove itself.

For more information see Remove event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of ChipEventBuilder .