SkeletonContainer
Kendo UI SkeletonContainer component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class SkeletonContainer : WidgetBase, IWidget, IHtmlAttributesContainer, IScriptableComponent
Inheritance: objectWidgetBaseSkeletonContainer
Implements:
Inherited Members
Constructors
Initializes a new instance of the SkeletonContainer class.
public SkeletonContainer(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
The view context
initializerIJavaScriptInitializerThe JavaScriptInitializer
urlGeneratorIUrlGeneratorThe URL generator.
Properties
Determines whether the items will be animated
public SkeletonContainerAnimation? Animation { get; set; }
Defines the settings for the CSS Grid used for layouting the skeleton shapes.
public SkeletonContainerGridSettings Grid { get; set; }
Determines the height of the component. Numeric values are treated as pixels.
public string Height { get; set; }
Defines a template that will be used to visualize the skeleton shapes. If both grid and template are defined the grid takes precedence.
public string Template { get; set; }
The handler for the Template
public string TemplateHandler { get; set; }
The id for the Template
public string TemplateId { get; set; }
Methods
public override IDictionary<string, object> Serialize()
Overrides:
Writes the HTML.
protected override void WriteHtml(HtmlTextWriter writer)
The HtmlTextWriter.
Overrides:
Writes the initialization script.
public override void WriteInitializationScript(TextWriter writer)
The TextWriter.
Overrides: