ScrollView

Example

Razor
<kendo-scrollview>
    <aria-template></aria-template>
    <datasource></datasource>
    <empty-template></empty-template>
    <item-template></item-template>
    <items></items>
    <messages />
    <pageable></pageable>
</kendo-scrollview>

ChildTags

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
as-moduleBooleanSpecifies whether the initialization script of the component will be rendered as a JavaScript module.
is-in-client-templateBooleanWhen placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
aria-templateStringSpecifies a template is used to populate an aria-live element that anounces which is the current item.
aria-template-handlerStringSpecifies a template is used to populate an aria-live element that anounces which is the current item. This option expects the name of a JavaScript function that will be called to return the template.
aria-template-idStringSpecifies a template is used to populate an aria-live element that anounces which is the current item. This option expects the ID of the script element that contains the template.
aria-template-viewIHtmlContentSpecifies a template is used to populate an aria-live element that anounces which is the current item. This option expects the instance containing the created HTML.
auto-bindBooleanIf set to false the widget will not bind to the DataSource during initialization.
bounce-velocity-thresholdDoubleThe intensity of the swipe after which the swipe will result in a bounce effect when the user scrolls to the next page. Higher values require more accelerative swipe to notice the bounce effect when a page is changed.
content-heightStringThe height of the ScrollView content. Supports 100% if the ScrollView container element does have set height. Each page will be streched to fill the container height.
datasource-idStringThe Id of the data source.
durationDoubleThe duration (in milliseconds) for the ScrollView to snap to the current page after the user releases it.
empty-templateStringThe template for rendering the pages without content. By default, the ScrollView renders a blank page.
empty-template-handlerStringThe template for rendering the pages without content. By default, the ScrollView renders a blank page. This option expects the name of a JavaScript function that will be called to return the template.
empty-template-idStringThe template for rendering the pages without content. By default, the ScrollView renders a blank page. This option expects the ID of the script element that contains the template.
empty-template-viewIHtmlContentThe template for rendering the pages without content. By default, the ScrollView renders a blank page. This option expects the instance containing the created HTML.
enable-pagerBooleanIf set to true, the ScrollView will display a pager. By default, the pager is enabled.
navigatableBooleanIf set to true enables the built-in keyboard navigation
on-changeStringThe name of the JavaScript function that will handle the change event. Fires when the ScrollView page is changed.
on-refreshStringThe name of the JavaScript function that will handle the refresh event. Fires when the ScrollView refreshes.
pageDoubleIf set to true the grid will display a pager. By default paging is disabled.Can be set to a JavaScript object which represents the pager configuration.
pager-overlayStringSets an overlay background color for the pager. It can be configured to one of the three possible values: - none - no background overlay is set - dark - sets a dark-colored background overlay - light - sets a light-colored background overlay
script-attributesIDictionary<String,Object>Sets the attributes that will be added to the script tag of the component's initialization script.
templateStringRepresents a collection of templates defined for the component.
template-handlerStringThe template for rendering the content of the pages. By default, the ScrollView renders a div element for every page. This option expects the name of a JavaScript function that will be called to return the template.
template-idStringThe template for rendering the content of the pages. By default, the ScrollView renders a div element for every page. This option expects the ID of the script element that contains the template.
template-viewIHtmlContentThe template for rendering the content of the pages. By default, the ScrollView renders a div element for every page. This option expects the instance containing the created HTML.
velocity-thresholdDoubleThe length of the horizontal swipe after which a swipe will navigate to the next page - as opposed to snapping back to the current page. Higher values require long area swipes to navigate to the next page.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support