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

Toggle

methods

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

Parameters:expandBoolean

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

<div id="reasoning"></div>
<script>
$("#reasoning").kendoReasoning({
    label: "Thinking",
    expandable: true,
    content: "Evaluating options."
});
var reasoning = $("#reasoning").data("kendoReasoning");
reasoning.toggle(true);
</script>
Not finding the help you need?
Contact Support