eslint-disable-next-line @typescript-eslint/no-explicit-any
Optional
iseslint-disable-next-line @typescript-eslint/no-explicit-any
Optional
iseslint-disable-next-line @typescript-eslint/no-explicit-any
Optional
iseslint-disable-next-line @typescript-eslint/no-explicit-any
Protected
transform
Creates a command handler that acts on either the widget targeted by a DOM event or the current widget.