SkeletonContainerTagHelper
Example
Razor
<kendo-skeletoncontainer>
<container-template></container-template>
<grid />
</kendo-skeletoncontainer>
ChildTags
Tag Name | Details |
---|---|
container-template | TemplateTagHelper |
grid | SkeletonContainerGridSettingsTagHelper |
Attributes
Attribute | Type | Description |
---|---|---|
name | String | Sets the name of the component. |
animation | SkeletonContainerAnimation | Determines whether the items will be animated |
height | String | Determines the height of the component. Numeric values are treated as pixels. |
script-attributes | IDictionary<String,Object> | Sets the attributes that will be added to the script tag of the component's initialization script. |
template | String | Represents a collection of templates defined for the component. |
template-handler | String | Defines a template that will be used to visualize the skeleton shapes. If both grid and template are defined the grid takes precedence. This option expects the name of a JavaScript function that will be called to return the template. |
template-id | String | Defines a template that will be used to visualize the skeleton shapes. If both grid and template are defined the grid takes precedence. This option expects the ID of the script element that contains the template. |
template-view | IHtmlContent | Defines a template that will be used to visualize the skeleton shapes. If both grid and template are defined the grid takes precedence. This option expects the instance containing the created HTML. |
width | String | Determines the width of the component. Numeric values are treated as pixels. |
is-in-client-template | Boolean | When placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute. |
deferred | Boolean | Suppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method. |
as-module | Boolean | Specifies whether the initialization script of the component will be rendered as a JavaScript module. |