The visible binding show/hide the elements or the widget is depending on the view model value in the MVVM pattern of Kendo UI. If the value is true it will show the element, for false case it will hide the element which means its display CSS attribute will be set to none.

Let us consider an example as shown below,
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Untitled</title>
  6. <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2015.3.1111/styles/kendo.common.min.css">
  7. <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2015.3.1111/styles/kendo.rtl.min.css">
  8. <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2015.3.1111/styles/kendo.default.min.css">
  9. <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2015.3.1111/styles/kendo.mobile.all.min.css">
  10. <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
  11. <script src="http://kendo.cdn.telerik.com/2015.3.1111/js/angular.min.js"></script>
  12. <script src="http://kendo.cdn.telerik.com/2015.3.1111/js/jszip.min.js"></script>
  13. <script src="http://kendo.cdn.telerik.com/2015.3.1111/js/kendo.all.min.js"></script></head>
  14. <body>
  15. <div id="example">
  16. <div data-bind="visible: isVisible">Hello I'm Visible
  17. </div>
  18. <button data-bind="click: hide">Hide</button>
  19. <button data-bind="click:show">Show</button>
  20. <script>
  21. var viewModel = kendo.observable({
  22. isVisible: true,
  23. hide: function() {
  24. this.set("isVisible", false);
  25. },
  26. show:function()
  27. {
  28. this.set("isVisible", true);
  29. }
  30. });
  31. kendo.bind($("#example"), viewModel);
  32. </script>
  33. </div>
  34. </body>
  35. </html>
Result in Browser


By clicking Hide Button


By clicking Show Button

I hope you have enjoyed this blog, Thank you.