MCPcopy
hub / github.com/anthonyshort/deku / toNativeEmptyElement

Function toNativeEmptyElement

lib/render.js:462–467  ·  view source on GitHub ↗

* Create a native element from a virtual element.

(entityId, path)

Source from the content-addressed store, hash-verified

460 */
461
462 function toNativeEmptyElement (entityId, path) {
463 var el = document.createElement('noscript')
464 el.__entity__ = entityId
465 el.__path__ = path
466 return el
467 }
468
469 /**
470 * Create a native element from a component.

Callers 1

toNativeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected