This package has been deprecated

Author message:

no

jack-ipsum

1.0.11 • Public • Published

Jack Edwards Ipsum v1.0.0

Build Status

A jQuery plugin that adds some hot Chinese mustard to your placeholder text.

Regular lorem ipsum:

Bienvenue au Centre Bell, la maison des sièges de toilette

Jack Edwards ipsum:

It says that right on their tickets. Any time a Canadien player gets hit you're supposed to say "ooh" at the top of your lungs. End over end, tumbling muffin.


Installation

  • Get jquery
  • npm / bower install jack-ipsum

Usage

Include jQuery + jack-ipsum.min.js in HTML

<p id="mid-air-fungo-job">
    I learned this from you, Brick.
</p>

Spread some hot mustard on the p tag.

<script type="text/javascript">
    $(document).ready(function() {
        $('#mid-air-fungo-job').jack();
    });
</script>

Note: If you call .jack() on a DOM node like $('p'), it'll generate a new placeholder text for every single p tag on your page.

Customization

Change the number of paragraphs by passing in an object:

$('.my-element').jack({
    paragraphs: 3
});

Paragraph number defaults at 1.

Package Sidebar

Install

npm i jack-ipsum

Weekly Downloads

1

Version

1.0.11

License

MIT

Last publish

Collaborators

  • gretzky