Class Skeleton
Inheritance
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
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
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
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
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
public object HtmlAttributes { get; set; }
Property Value
Type |
---|
System.Object |
Label
Defines the 'aria-label' for Skeleton accessibility.
Declaration
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
public string Locale { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Shape
Defines the shape of the Skeleton.
Declaration
public SkeletonType Shape { get; set; }
Property Value
Type | Description |
---|---|
SkeletonType | The default value is SkeletonType.Text |
ShimmerEffect
Defines the animation effect of the Skeleton.
Declaration
public ShimmerEffect ShimmerEffect { get; set; }
Property Value
Type | Description |
---|---|
ShimmerEffect | The default value is ShimmerEffect.Wave |
Visible
Defines the visibility state of Skeleton.
Declaration
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
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |