Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/f/loremjs
Lorem.js Dummy Text/Image Generator for jQuery and Native JS
https://github.com/f/loremjs
Last synced: about 1 month ago
JSON representation
Lorem.js Dummy Text/Image Generator for jQuery and Native JS
- Host: GitHub
- URL: https://github.com/f/loremjs
- Owner: f
- License: lgpl-3.0
- Created: 2011-08-11T10:49:40.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2018-07-13T20:05:34.000Z (over 6 years ago)
- Last Synced: 2024-10-01T00:58:55.051Z (about 1 month ago)
- Language: HTML
- Size: 24.4 KB
- Stars: 192
- Watchers: 11
- Forks: 61
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Lorem.js Dummy Text/Image Generator - Native JS
========================================================
A Lorem Ipsum creator service written on JavaScript.Implementation
--------------Implementation of Lorem.js is so simple,
You just download and add
into your website/application and run.
If you want to put a lorem text inside a DIV (etc.) tag just write:
If you want a random length of lorem text within a range just write:
Querying
--------Lorem.js has a simple query language: "how many?, what?"
2p = 2 paragraphs
5s = 5 sentences
6w = 6 words
1-6w = between 1 and 6 wordsThat's it.
Dummy Images
------------And Lorem.js uses lorempixel.com for images for now.
Usage:
And watch what happens :)
Feel free to ask questions.