Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
107
export
function
removeProp(node, prop, setter) {
108
ContextNode.get(node).values.remove(prop, setter);
109
}
110
111
/**
112
* @param {Node} node
Callers
1
useSlotContext
Function · 0.90
Calls
2
remove
Method · 0.45
get
Method · 0.45
Tested by
no test coverage detected