toggle
Toggles the expanded state of the content body. If no argument is provided, the current state is reversed.
Parameters
expand Boolean
If true, the body is shown. If false, the body is hidden. If omitted, the state is reversed.
Example - toggle the step
<div id="reasoning"></div>
<script>
$("#reasoning").kendoReasoning({
label: "Thinking",
expandable: true,
content: "Evaluating options."
});
var reasoning = $("#reasoning").data("kendoReasoning");
reasoning.toggle(true);
</script>