command

external val command: Command(source)

The command read-only property of the CommandEvent interface returns a string containing the value of the command property at the time the event was dispatched.

MDN Reference