Wondering what’s next for npm?Check out our public roadmap! »

    @accursoft/jquery-caret

    1.3.7 • Public • Published

    jQuery Caret

    • get the caret's position: pos = $(textarea).caret()
    • set the caret's position: $(textarea).caret(pos)
    • set the caret's position to the end: $(textarea).caret(-1)

    Return value: the current/new caret position

    Install

    npm i @accursoft/jquery-caret

    DownloadsWeekly Downloads

    424

    Version

    1.3.7

    License

    BSD-3-Clause

    Unpacked Size

    5.24 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar