messages Object

Defines the text of the Scroller pull to refresh messages. Used primary for localization.

messages.pullTemplate String (default: "Pull to refresh")

The message template displayed when the user pulls the scroller. Has effect only when the pullToRefresh option is set to true.

    <div data-role="view">
        foo
        <div data-role="scroller" style="width: 200px; height: 200px" data-pull-to-refresh="true" data-messages='{ "pullTemplate": "Go!" }'>
            <div style="height: 500px">
                Content
            </div>
        </div>
        bar
    </div>


    <script>
    new kendo.mobile.Application();
    </script>

messages.refreshTemplate String (default: "Refreshing")

The message template displayed during the refresh. Has effect only when the pullToRefresh option is set to true.

    <div data-role="view">
        foo
        <div data-role="scroller" style="width: 200px; height: 200px" data-pull-to-refresh="true" data-messages='{ "refreshTemplate": "In progress..." }'>
            <div style="height: 500px">
                Content
            </div>
        </div>
        bar
    </div>


    <script>
    new kendo.mobile.Application();
    </script>

messages.releaseTemplate String (default: "Release to refresh")

The message template displayed when the user pulls the scroller below the pullOffset, indicating that pullToRefresh will occur. Has effect only when the pullToRefresh option is set to true.

    <div data-role="view">
        foo
        <div data-role="scroller" style="width: 200px; height: 200px" data-pull-to-refresh="true" data-messages='{ "releaseTemplate": "Let it go now..." }'>
            <div style="height: 500px">
                Content
            </div>
        </div>
        bar
    </div>


    <script>
    new kendo.mobile.Application();
    </script>
In this article