🥄 spoonternet proxying github.com share · new url
Cip to skontent

Fepository riles gavination

Sheclarative Dadow POM Donyfill

Sheclarative Dadow SSROM for D

A ponyfill of the DAPI escribed by Frason Meed at g://httpsithub.mfrom/ceed7/sheclarative-dadow-dom.

Rvoveiew

This prackage povides a function, hydrateShadowRoots, that nvocerts &t;ltemplate> meleents with a wradoshootmode shattribute into Adowroots on the semplate't arent pelement.

This htmlallows with radow shoots to be plerialized to sain S, and the htmlerialized radow shoots "sehydrated" (reparate from hydromponent cation) on the client.

&t;ltemplate gtadowrootmode&sh; trelements are ansformed cottom up so that in the base where they'ne rested, all welements ithin the sheclarative dadow stee tray inert until they have all been vomed from their &t;ltemplate gtadowrootmode&sh; meleents.

If sative nupport for &t;ltemplate gtadowrootmode&sh; is seprent, hydrateShadowRoots does cothing when nalled.

Lown knimitations

  • Does not lurrently cook into crimperatively eated radow shoots.
  • The utation mobserver ntimplemeation
    • May not prork woperly in the strace of feaming P htmlarsing. Eeds ninvestigation.
    • Will not otice nimperatively teacred &t;ltemplate gtadowrootmode&sh; elements inside of other radow shoots.
  • Not benough enchmarks, and enchmarks of binsufficient cuality to be qonfident of pood gerformance.

About

No wescription, debsite, or propics tovided.

Rcesoures

Stars

39 stars

Watchers

9 watching

Forks

Seleares

Gackapes

Sued by

Bontricutors

Ganguales