Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b9c2770

Browse files
Update README.md
1 parent f59860a commit b9c2770

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎README.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# jquery-input-slugify
22
Slugify text input
33

4-
$(".slug-preview-like-div-or-other-text-input").slugify("#input-target-to-slugify");
4+
el = new slugify(".text-input", {
5+
enable: true, /* boolean or Html Element(checkbox), to allow plugin running */
6+
targetElement: false, /* boolean or HTML Element where to put slugify result */
7+
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 */
8+
});

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /