Skip to content
This repository was archived by the owner on Jul 29, 2022. It is now read-only.

jQuery plugin that creates a bindable special event for user text selection: "textSelect"

License

Notifications You must be signed in to change notification settings

JamesMGreene/jquery.textSelect

Repository files navigation

Build Status

jquery.textSelect

Bind to the textSelect event, a custom DOM-like event generated using jQuery's Special Events API. The textSelect event triggers when the user selects any text within a bound element.

Getting Started

Check the jQuery Plugins Registry for the latest published version of this plugin!

You can also download the production version or the development version from GitHub.

In your web page:

<script src="jquery.js"></script>
<script src="dist/jquery.textSelect.min.js"></script>
<script>
    jQuery(selector).on("textSelect", callbackFn);
</script>

Examples

???

Compatibility

Works 100% with jQuery versions:

  • 1.7.x
  • 1.8.x
  • 1.9.x

Untested jQuery versions:

  • Anything below 1.7.x (incompatible jQuery Special Events API)
  • 2.0.0b1

Documentation

(Coming soon)

Release History

  • 0.5.1: Published to the jQuery Plugins Registry on 2013-02-14.
    • Changing the filenames to include the "jquery." prefix.
  • 0.5.0: Published to the jQuery Plugins Registry on 2013-02-13.
    • Initial release. Lots of work to get done (see Issues).

About

jQuery plugin that creates a bindable special event for user text selection: "textSelect"

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •