Skip to main content

CustomCommandExecutedEventArgs Class

Contains data for the CustomCommandExecuted event.

Declaration

export class CustomCommandExecutedEventArgs extends EventArgs

Remarks

The CustomCommandExecuted event occurs after a custom command has been executed on the client side. The event handler receives an argument of the CustomCommandExecutedEventArgs type. The argument’s properties provide information specific to this event.

Inheritance

EventArgs
CustomCommandExecutedEventArgs

Properties

commandName Property

Gets the name of the processed command.

Declaration

commandName: string

Property Value

Type Description
string

The processed command’s name.

Remarks

The commandName property returns the value specified by an item’s CommandName property on the server side or by the id property on the client side.

parameter Property

Gets an optional parameter that complements the processed command.

Declaration

parameter: any

Property Value

Type Description
any

A value that contains additional information about the processed command.