collapse
Collapses the step body, hiding the thoughts list.
Example - collapse the step
<div id="chain"></div>
<script>
$("#chain").kendoChainOfThought({
label: "Analyzing",
expandable: true,
expanded: true,
thoughts: [{ label: "Checking sources" }]
});
var chain = $("#chain").data("kendoChainOfThought");
chain.collapse();
</script>