NOTE: the latest version is 2.0.1
Renders a text block placeholder.
Represents the configuration for a text block placeholder. It has the following attributes:
backgroundColor
Css.Color
height
Css.Px
items
Returns a default configuration for a block placeholder.
Adds items to a Block.
Block
Inits a block placeholder shuffling its items.
Block msg.
Block update.
Renders a block placeholder using the given configuration.
Represents the configuration for a text block placeholder. It has the following attributes:
backgroundColor: takes aCss.Colorand represents the background color of the lines.height: takes aCss.Pxand represents the height of the lines.items: a list of integers which is used to randomize the number of lines.