\Kendo\UI\DialogAction
A PHP class representing the action setting of DialogActions.
Methods
action
The callback function to be called after pressing the action button.
Returns
\Kendo\UI\DialogAction
Parameters
$value \Kendo\JavaScriptFunction
Example
<?php
$action = new \Kendo\UI\DialogAction();
$action->action(new \Kendo\JavaScriptFunction('function() { }'));
?>
cssClass
Adds a custom class to the action button.
Returns
\Kendo\UI\DialogAction
Parameters
$value string
Example
<?php
$action = new \Kendo\UI\DialogAction();
$action->cssClass('value');
?>
primary
A boolean property indicating whether the action button will be decorated as primary button or not.
Returns
\Kendo\UI\DialogAction
Parameters
$value boolean
Example
<?php
$action = new \Kendo\UI\DialogAction();
$action->primary(true);
?>
text
The text to be shown in the action's button.
Returns
\Kendo\UI\DialogAction
Parameters
$value string
Example
<?php
$action = new \Kendo\UI\DialogAction();
$action->text('value');
?>