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

Returns whether the PromptBox is currently in multiline state. This is primarily useful in "auto" mode to determine if the textarea has expanded beyond a single line.

Returns:Boolean

True if the PromptBox is in multiline state, false otherwise.

<div id="promptbox"></div>
<button id="check">Check Multiline</button>
<script>
var promptbox = $("#promptbox").kendoPromptBox({
    mode: "auto",
    placeholder: "Type to expand..."
}).data("kendoPromptBox");

$("#check").click(function() {
    console.log("Is multiline:", promptbox.isMultiline());
});
</script>
Not finding the help you need?
Contact Support