Button.setAction

Устанавливает действие при нажатии на кнопку.

Syntax

button.setAction(action)

Parameters

Name Type Description
action Action Действие

Returns

Нет

Examples

var action = new ServerAction(/** Params for ServerAction **/);
var content = button.getContent(action);

See Also