Edit this page

kendo.mobile.ui.Loader

Methods

hide

Hide the loading animation.

Example - display loading animation for 7 seconds, then hide it

<div id="foo" data-role="view" data-show="onShow"></div>

<script>
var app = new kendo.mobile.Application();
function onShow() {
  app.pane.loader.show();
  setTimeout(function() {
    app.pane.loader.hide(); //hide loading animation
  }, 7000);
}
</script>

show

Show the loading animation.

Example - display loading animation on view show

<div id="foo" data-role="view" data-show="onShow"></div>

<script>
var app = new kendo.mobile.Application();
function onShow() {
  app.pane.loader.show(); //show loading animation
}
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy