Skip to content

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

Notifications You must be signed in to change notification settings

csillag/dom-text-mapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published