MCPcopy Create free account
hub / github.com/ampproject/amphtml / removeProp

Function removeProp

src/core/context/index.js:107–109  ·  view source on GitHub ↗
(node, prop, setter)

Source from the content-addressed store, hash-verified

105 * @template T
106 */
107export function removeProp(node, prop, setter) {
108 ContextNode.get(node).values.remove(prop, setter);
109}
110
111/**
112 * @param {Node} node

Callers 1

useSlotContextFunction · 0.90

Calls 2

removeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected