\Kendo\Dataviz\UI\DiagramConnectionDefaultsEditableToolMenuButton
A PHP class representing the menuButton setting of DiagramConnectionDefaultsEditableToolMenuButtons.
Methods
attributes
Specifies the HTML attributes of a menu button.
Returns
\Kendo\Dataviz\UI\DiagramConnectionDefaultsEditableToolMenuButton
Parameters
$value ``
enable
Specifies whether the menu button is initially enabled or disabled.
Returns
\Kendo\Dataviz\UI\DiagramConnectionDefaultsEditableToolMenuButton
Parameters
$value boolean
Example
<?php
$menuButton = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsEditableToolMenuButton();
$menuButton->enable(true);
?>
icon
Sets icon for the menu buttons. The icon should be one of the existing in the Kendo UI theme sprite.
Returns
\Kendo\Dataviz\UI\DiagramConnectionDefaultsEditableToolMenuButton
Parameters
$value string
Example
<?php
$menuButton = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsEditableToolMenuButton();
$menuButton->icon('value');
?>
id
Specifies the ID of the menu buttons.
Returns
\Kendo\Dataviz\UI\DiagramConnectionDefaultsEditableToolMenuButton
Parameters
$value string
Example
<?php
$menuButton = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsEditableToolMenuButton();
$menuButton->id('value');
?>
imageUrl
If set, the ToolBar will render an image with the specified URL in the menu button.
Returns
\Kendo\Dataviz\UI\DiagramConnectionDefaultsEditableToolMenuButton
Parameters
$value string
Example
<?php
$menuButton = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsEditableToolMenuButton();
$menuButton->imageUrl('value');
?>
spriteCssClass
Defines a CSS class (or multiple classes separated by spaces) which will be used for menu button icon.
Returns
\Kendo\Dataviz\UI\DiagramConnectionDefaultsEditableToolMenuButton
Parameters
$value string
Example
<?php
$menuButton = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsEditableToolMenuButton();
$menuButton->spriteCssClass('value');
?>
text
Specifies the text of the menu buttons.
Returns
\Kendo\Dataviz\UI\DiagramConnectionDefaultsEditableToolMenuButton
Parameters
$value string
Example
<?php
$menuButton = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsEditableToolMenuButton();
$menuButton->text('value');
?>
url
Specifies the url of the menu button to navigate to.
Returns
\Kendo\Dataviz\UI\DiagramConnectionDefaultsEditableToolMenuButton
Parameters
$value string
Example
<?php
$menuButton = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsEditableToolMenuButton();
$menuButton->url('value');
?>