PostCommand.setPostCommand

Add a post command to a widget. This is usually to modify the widget after creation.

mixintemplate PostCommand()
setPostCommand
(
this T
)

Parameters

callback CommandCallback

The delegate callback to execute when invoking the post command.

Return Value

Type: auto

This widget to aid method chaining.

Callback Arguments

These are the fields within the callback's CommandArgs parameter which are populated by this method when the callback is executed.

$(PARAM_TABLE $(PARAM_ROW CommandArgs.element, The element that executed the callback.) $(PARAM_ROW CommandArgs.uniqueData, The string 'postcommand'.) $(PARAM_ROW CommandArgs.callback, The callback which was executed.) )

See Also

Meta