Package org.vaadin.addons.skeleton
Class SkeletonOptions
java.lang.Object
org.vaadin.addons.skeleton.SkeletonOptions
- All Implemented Interfaces:
Serializable
Options for
Skeleton.show(com.vaadin.flow.component.Component, SkeletonOptions).
Example: SkeletonOptions.defaults().depth(Depth.CHILDREN).animation(Animation.PULSE)
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumHow the placeholder blocks are animated.static enumWhich elements get their own placeholder block. -
Method Summary
Modifier and TypeMethodDescriptionanimation(SkeletonOptions.Animation animation) static SkeletonOptionsdefaults()depth(SkeletonOptions.Depth depth) getDepth()booleantextLines(boolean textLines) When true (default), multi-line text such as paragraphs is drawn as several thin lines instead of one solid block.
-
Method Details
-
defaults
-
depth
-
animation
-
textLines
When true (default), multi-line text such as paragraphs is drawn as several thin lines instead of one solid block. -
getDepth
-
getAnimation
-
isTextLines
public boolean isTextLines()
-