setOptions

Modifies the initial configuration of the loader

Parameters

options Object

The new options.

Example

<button>Button <span id="loader"></span></button>
<script>
    var loader =  $('#loader').kendoLoader({
        visible: false,
        themeColor:'secondary'
    }).data('kendoLoader');

    loader.setOptions({
        visible: true,
        themeColor: 'tertiary'
    });
</script>
In this article
Not finding the help you need? Improve this article