UNPKG

@lynx-js/offscreen-document

Version:

Offscreen Document allows developers to use particular DOM in WebWorker

73 lines (38 loc) 2.03 kB
# @lynx-js/offscreen-document ## 0.1.4 ### Patch Changes - remove innerHTML, replace it by textContent ([#1622](https://github.com/lynx-family/lynx-stack/pull/1622)) ## 0.1.3 ### Patch Changes - feat: support to dump the css og system's style ([#1272](https://github.com/lynx-family/lynx-stack/pull/1272)) ## 0.1.2 ### Patch Changes - refactor: make the opcode be a plain array ([#1051](https://github.com/lynx-family/lynx-stack/pull/1051)) #1042 ## 0.1.1 ### Patch Changes - feat: add sheet.insertRule support ([#1026](https://github.com/lynx-family/lynx-stack/pull/1026)) - refactor: implement mts apis in closure pattern ([#1004](https://github.com/lynx-family/lynx-stack/pull/1004)) ## 0.1.0 ### Minor Changes - remove `dumpHTMLString` ([#919](https://github.com/lynx-family/lynx-stack/pull/919)) ## 0.0.4 ### Patch Changes - fix: remove all children after the innerHTML setter is called ([#850](https://github.com/lynx-family/lynx-stack/pull/850)) - refactor: code clean ([#897](https://github.com/lynx-family/lynx-stack/pull/897)) rename many internal apis to make logic be clear: multi-thread: startMainWorker -> prepareMainThreadAPIs -> startMainThread -> createMainThreadContext(new MainThreadRuntime) all-on-ui: prepareMainThreadAPIs -> startMainThread -> createMainThreadContext(new MainThreadRuntime) - perf: improve dom operation performance ([#881](https://github.com/lynx-family/lynx-stack/pull/881)) - code clean for offscreen-document, cut down inheritance levels - add `appendChild` method for OffscreenElement, improve performance for append one node - bypass some JS getter for dumping SSR string ## 0.0.3 ### Patch Changes - feat: support OffscreenDocument.innerHTML ([#772](https://github.com/lynx-family/lynx-stack/pull/772)) ## 0.0.2 ### Patch Changes - feat: support touch events ([#641](https://github.com/lynx-family/lynx-stack/pull/641)) ## 0.0.1 ### Patch Changes - feat: support parentNode ([#625](https://github.com/lynx-family/lynx-stack/pull/625))