Kendo UI for jQuery SkeletonContainer Overview

The SkeletonContainer component indicates to the user that the content is coming but has not yet been loaded. It aims at helping the user focus on progress and makes the page load time appear shorter.

A SkeletonContainer is basically a simplified preview version of a page into which information is gradually loaded (i.e. via AJAX requests).

Visit the SkeletonContainer demo page to see it in action.

Kendo UI for jQuery Kendoka image

The SkeletonContainer is part of Kendo UI for jQuery, a professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Initializing the SkeletonContainer

It is recommended to initialize the component from a div HTML element.

The following example demonstrates how to initialize the SkeletonContainer from an existing <div> element.

    <div id="skeleton"></div>
    <script>
        $("#skeleton").kendoSkeletonContainer({
            animation: "wave",
            height: 200,
            width: 340,
            grid: {
                items: [{
                    colStart: 1,
                    colSpan: 1,
                    rowStart: 1,
                    rowSpan: 1,
                    shape:"rectangle"
                }],
                rows: 1,
                columns:1
            },
        });
    </script>

Functionality and Features

The Kendo UI SkeletonContainer for jQuery accepts either a template or a CSS Grid. While the developer can pass merely anything at the template, the CSS Grid exposes an item object that has a set of predefined properties. Find out more about the CSS Grid setup here:

See Also

In this article