Skip to content

daniduarte/excerpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Excerpt

Description

jQuery plugin to cut the length from a text you want.

Author

Configuration

There are a few options to help to costumize the plugin behavior:

  • limit (number, default 50): It set the length of characters before to cut the content.
  • suffix (string, default "..."): It set the ending word when the content was already cutted.
  • dev (bolean, default FALSE): It set the development mode. When it's TRUE, the plugin will not prints the cutted content in the DOM, it will printed in the browser console with additional information to debug. Otherwise, if it's FALSE, it prints the cutted content normally in the DOM.

About

Cut the length of a text

Resources

Stars

Watchers

Forks

Packages

No packages published