https://github.com/triawarman/js-input-slugify
Slugify text input
https://github.com/triawarman/js-input-slugify
html-input jquery-plugin slugify
Last synced: 10 months ago
JSON representation
Slugify text input
- Host: GitHub
- URL: https://github.com/triawarman/js-input-slugify
- Owner: triawarman
- License: mit
- Created: 2017-12-19T06:26:49.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-01-06T09:50:27.000Z (about 2 years ago)
- Last Synced: 2025-02-16T10:14:44.268Z (12 months ago)
- Topics: html-input, jquery-plugin, slugify
- Language: JavaScript
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# js-input-slugify
Slugify text input
```javascript
let el = new slugify(".text-input", {
enable: true, /* boolean or Html Element(checkbox), to allow plugin running */
targetElement: false, /* boolean or HTML Element where to put slugify result */
mode: "replace", /* "replace" slugify result to element and target element, "target" slugify result only to target element, "fill" slugify result only to target element if the target element is empty */
});
```