Class Skeleton
Inherited Members
Namespace: Syncfusion.EJ2.Notifications
Assembly: Syncfusion.EJ2.dll
Syntax
public class Skeleton : EJTagHelper
Constructors
Skeleton()
Declaration
public Skeleton()
Properties
CssClass
Defines single/multiple classes (separated by space) to be used for customization of Skeleton.
Declaration
[HtmlAttributeName("cssClass")]
public string CssClass { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
EnablePersistence
Enable or disable persisting component's state between page reloads.
Declaration
[HtmlAttributeName("enablePersistence")]
public bool EnablePersistence { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
EnableRtl
Enable or disable rendering component in right to left direction.
Declaration
[HtmlAttributeName("enableRtl")]
public bool EnableRtl { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Height
Defines the height of the Skeleton. Height is not required when shape is "Circle" and "Square".
Declaration
[HtmlAttributeName("height")]
public string Height { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
HtmlAttributes
Allows additional HTML attributes such as title, name, etc., and accepts n number of attributes in a key-value pair format.
Declaration
[HtmlAttributeName("htmlAttributes")]
public object HtmlAttributes { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Label
Defines the 'aria-label' for Skeleton accessibility.
Declaration
[HtmlAttributeName("label")]
public string Label { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "Loading..." |
Locale
Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
Declaration
[HtmlAttributeName("locale")]
public string Locale { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Shape
Defines the shape of the Skeleton. {% codeBlock src='skeleton/shape/index.md' %}{% endcodeBlock %}
Declaration
[HtmlAttributeName("shape")]
public SkeletonType Shape { get; set; }
Property Value
Type | Description |
---|---|
SkeletonType | The default value is SkeletonType.Text |
ShimmerEffect
Defines the animation effect of the Skeleton. {% codeBlock src='skeleton/shimmerEffect/index.md' %}{% endcodeBlock %}
Declaration
[HtmlAttributeName("shimmerEffect")]
public ShimmerEffect ShimmerEffect { get; set; }
Property Value
Type | Description |
---|---|
ShimmerEffect | The default value is ShimmerEffect.Wave |
Visible
Defines the visibility state of Skeleton.
Declaration
[HtmlAttributeName("visible")]
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
Width
Defines the width of the Skeleton. Width will be prioritized and used as dimension when shape is "Circle" and "Square".
Declaration
[HtmlAttributeName("width")]
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |