Skip to content

parallelo3301/dom-cloner-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mutation Observer API demo

A simple demo shows the MutationSummary + TreeMirror libs to de/serialize content, using socket.io to sync the data.

We also try to catch & propagate two events - scroll + click.


Demo/notes

  • <base> tag; handling relative path - assets/test.css in clone.html vs test-dir/clone.html
  • scroll event on any tag
  • iframe (chat box handling, ...)
  • differences in a font or OS UI elements rendering

Usage

npm ci
npm start

Open:

Observe mirrored page (origin) in the cloned one.

Demo video

demo.mp4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published