\Kendo\UI\WizardStep

A PHP class representing the step setting of WizardSteps.

Methods

addButton

Adds one or more WizardStepButton to the WizardStep.

Returns

\Kendo\UI\WizardStep

Parameters

$value[, $value2, ...] \Kendo\UI\WizardStepButton|array

Example - using \Kendo\UI\WizardStepButton

<?php
$step = new \Kendo\UI\WizardStep();
$button = new \Kendo\UI\WizardStepButton();
$enabled = true;
$button->enabled($enabled);
$step->addButton($button);
?>

Example - using array

<?php
$step = new \Kendo\UI\WizardStep();
$enabled = true;
$step->addButton(array('enabled' => $enabled));
?>

Example - adding more than one WizardStepButton

<?php
$step = new \Kendo\UI\WizardStep();
$first  = new \Kendo\UI\WizardStepButton();
$second = new \Kendo\UI\WizardStepButton();
$step->addButton($first, $second);
?>

className

Specifies a custom class that will be set on the step container element.

Returns

\Kendo\UI\WizardStep

Parameters

$value string

Example

<?php
$step = new \Kendo\UI\WizardStep();
$step->className('value');
?>

content

Sets the HTML content of the WizardStep.

Returns

WizardStep

$value string

Example

<?php
$step = new \Kendo\UI\WizardStep();
$step->content('<strong>Content</strong>');
?>

contentId

Specifies the id of a DOM element, which content to be used as a content of the current step.

Returns

\Kendo\UI\WizardStep

Parameters

$value string

Example

<?php
$step = new \Kendo\UI\WizardStep();
$step->contentId('value');
?>

contentUrl

Specifies an endpoint which the step content should be loaded from.

Returns

\Kendo\UI\WizardStep

Parameters

$value string

Example

<?php
$step = new \Kendo\UI\WizardStep();
$step->contentUrl('value');
?>

enabled

Specifies whether the step is enabled or not.

Returns

\Kendo\UI\WizardStep

Parameters

$value boolean

Example

<?php
$step = new \Kendo\UI\WizardStep();
$step->enabled(true);
?>

form

Defines the Form widget configuration, which will populate the Wizard step content.

Returns

\Kendo\UI\WizardStep

Parameters

$value ``

icon

Defines a name of an existing icon in the Kendo UI theme sprite. The icon will be displayed in the Stepper step element. For a list of available icon names, please refer to the Web Font Icons article.

Returns

\Kendo\UI\WizardStep

Parameters

$value string

Example

<?php
$step = new \Kendo\UI\WizardStep();
$step->icon('value');
?>

iconTemplate

The template used to render the icon in the Stepper step.The fields which can be used in the template are: title String - the title set on the step; label String - same as title - the title set on the step; icon String - the icon specified for this step (if any); enabled Boolean - indicates whether the step is enabled (true) or disabled (false); selected Boolean - indicates whether the step is selected; previous Boolean - indicates whether the step is before the currently selected or not; index Number - a zero-based index of the current step; isFirstStep Boolean - indicates whether the step is the initial one in the Stepper; isLastStep Boolean - indicates whether the step is the last one in the Stepper; indicatorVisible Boolean - indicates whether the indicator, which holds the icon should be displayed or not or labelVisible Boolean - indicates whether the label section of the step should be displayed or not.

Returns

\Kendo\UI\WizardStep

Parameters

$value string|\Kendo\JavaScriptFunction

Example - using string

<?php
$step = new \Kendo\UI\WizardStep();
$step->iconTemplate('value');
?>

Example - using \Kendo\JavaScriptFunction

<?php
$step = new \Kendo\UI\WizardStep();
$step->iconTemplate(new \Kendo\JavaScriptFunction('function() { }'));
?>

pager

Specifies whether the pager will be rendered on the current step or not.

Returns

\Kendo\UI\WizardStep

Parameters

$value boolean

Example

<?php
$step = new \Kendo\UI\WizardStep();
$step->pager(true);
?>

title

Specifies a title of the current step.

Returns

\Kendo\UI\WizardStep

Parameters

$value string

Example

<?php
$step = new \Kendo\UI\WizardStep();
$step->title('value');
?>
In this article
Not finding the help you need?