\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() { }'));
?>

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');
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy