Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 473 Bytes

README.md

File metadata and controls

10 lines (9 loc) · 473 Bytes

js-input-slugify

Slugify text input

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 */
});