themeColor

Gets or sets the color of the loader.

Parameters

color String

See loader.options.themeColor for valid options.

Example

Set loader color after initialization.

<span id="loader"></span>

<script>
    var loader = $('#loader').kendoLoader({ themeColor: 'secondary' }).data('kendoLoader');

    window.setTimeout(function() {
        loader.themeColor('primary');
    }, 1000);
</script>
In this article