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

Visibility

Updated on Oct 27, 2026

By default, the Kendo UI for Vue Dialog is visible whenever you render it.

To control its visibility, conditionally render the Dialog based on a state variable. When the condition is falsy, the Dialog is removed from the view.

vue
<Dialog v-if="visible" />

To hide the Dialog based on user interaction, handle its close event, which fires when users click the titlebar Close button or press Esc, and update the state that controls its rendering.

The following example demonstrates how to show and hide the Dialog based on its state. The Dialog renders while the state is true and closes when you click the Close button, No, or Yes. Clicking Open Dialog renders it again.

Example
View Source
Loading ...
In this article
Suggested Links
Not finding the help you need?
Contact Support