<lorem/>
<lorem/> is a Paragraph Markup
component that renders random lorem-ipsum filler text. The amount of text generated is controlled by attribute specification of the number of words, sentences, and paragraphs.
Attributes and Properties
| Attribute | Type | Values |
|---|---|---|
generateParagraphs = "…" | ||
generateSentences = "…" | ||
generateWords = "…" | ||
maxSentencesPerParagraph = "…" | number | |
maxWordsPerSentence = "…" | number | |
minSentencesPerParagraph = "…" | number | |
minWordsPerSentence = "…" | number |
| Property | Type |
|---|---|
$l.maxSentencesPerParagraph | number |
$l.maxWordsPerSentence | number |
$l.minSentencesPerParagraph | number |
$l.minWordsPerSentence | number |
Attribute Example: generateWords
Specify the number of words to generate with the generateWords attribute.
Attribute Example: generateSentences
Specify the number of sentences to generate with the generateSentences attribute.
Attribute Example: generateParagraphs
Specify the number of paragraphs to generate with the generateParagraphs attribute.
Attribute Example: minSentencesPerParagraph, maxSentencesPerParagraph
You can control the length of generated paragraphs with the minSentencesPerParagraph and maxSentencesPerParagraph attributes. The default minimum is four paragraphs and the default maximum is eight paragraphs.
Attribute Example: minWordsPerSentence, maxWordsPerSentence
You can control the length of generated sentences with the minWordsPerSentence and maxWordsPerSentence attributes. The default minimum is four words and the default maximum is eight words.