Buy Me a Coffee at ko-fi.com

Sets the function that is executed when the Action is toggled
The function has two arguments
The first argument is toggle state of this action
The second argument is this action itself

overload 1:
Action.setOnToggle(leftFunction: Function): Action
typings.1445582840typings.1955883606
Method PropertyFluent DescriptionRepresentation
leftFunction accepts
Return Value