Join GitHub today
Clone this wiki locally
The following are the core Rangy objects (try a live demo here):
- The main Rangy object, which acts as a namespace for Rangy functionality;
- Range, representing a portion of an HTML document and based on the DOM Level 2 Range interface;
- Selection, representing the user's selection within an HTML document.
DOM Utils, a collection of DOM-related helper functions used internally by Rangy but also available via
Rangy also comes with optional modules, each of which comes in a separate .js file. Current modules are:
- Selection save and restore
- Class apply and remove to/from selection
- Selection and Range serialization
- Text-based extensions to selection and range
- Highlighter module providing an API for creating, serializing and deserializing text highlights
Other pages within the documentation are at various stages of completion and will be linked from this page when completed.