Skip to content

A JavaScript library for mapping sub-strings of the string representation of an HTML document to individual DOM elements

License

Notifications You must be signed in to change notification settings

peerlibrary/dom-text-mapper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dom-text-mapper

A JavaScript library for mapping sub-strings of the string representation of an HTML document to individual DOM elements

The code traverses the DOM, and compares it to the text string what we get when the document is rendered, and collects info about which string slice belonds to each DOM elements.

Then it can provide mapping between string slices and DOM elements.

About

A JavaScript library for mapping sub-strings of the string representation of an HTML document to individual DOM elements

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 100.0%