New to Kendo UI for jQuery? Start a free 30-day trial

Toggle

methods

Toggles the expanded state of the step body. If no argument is provided, the current state is reversed.

Parameters:expandBoolean

If true, the step body is shown. If false, the step body is hidden. If omitted, the state is reversed.

<div id="chain"></div>
<script>
$("#chain").kendoChainOfThought({
    label: "Thinking",
    expandable: true,
    thoughts: [{ label: "Step 1" }]
});
var chain = $("#chain").data("kendoChainOfThought");
chain.toggle(true);
</script>
Not finding the help you need?
Contact Support