Methods
-
<static> lines(lineCount)
-
returns lines of lorem separated by
'\n'Parameters:
Name Type Description lineCountnumber defaults to a random number between 1 and 5
-
<static> paragraph(sentenceCount)
-
paragraph
Parameters:
Name Type Description sentenceCountnumber defaults to 3
-
<static> paragraphs(paragraphCount, separatora)
-
paragraphs
Parameters:
Name Type Description paragraphCountnumber defaults to 3
separatorastring defaults to
'\n \r' -
<static> sentence(wordCount, range)
-
sentence
Parameters:
Name Type Description wordCountnumber defaults to a random number between 3 and 10
rangenumber -
<static> sentences(sentenceCount, separator)
-
sentences
Parameters:
Name Type Description sentenceCountnumber defautls to a random number between 2 and 6
separatorstring defaults to
' ' -
<static> text(times)
-
returns random text based on a random lorem method
Parameters:
Name Type Description timesnumber -
<static> word(num)
-
word
Parameters:
Name Type Description numnumber -
<static> words(num)
-
generates a space separated list of words
Parameters:
Name Type Description numnumber number of words, defaults to 3