https://github.com/torann/jquery.slugify
Yet another url slug creation plugin for jQuery.
https://github.com/torann/jquery.slugify
Last synced: about 1 month ago
JSON representation
Yet another url slug creation plugin for jQuery.
- Host: GitHub
- URL: https://github.com/torann/jquery.slugify
- Owner: Torann
- License: other
- Created: 2017-02-02T20:19:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-29T20:40:53.000Z (almost 7 years ago)
- Last Synced: 2025-03-15T06:04:42.478Z (2 months ago)
- Homepage:
- Size: 7.81 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jQuery Slugify
Yet another url slug creation plugin for jQuery.
## Getting Started
You can install the plugin using Bower:
```bash
bower install jquery.slugify
```The script will automatically create the slug from the inputted data from element (source) with the `data-slugify` attribute, and add it to the element (target) specified in the `data-slugify` attribute. You can also setup an URL preview by adding an element ID or classname in the `rel` tag on the target element.
```html
Title
Slug
/blog/
```