MCPcopy Create free account
hub / github.com/breck7/scroll / selection_style

Function selection_style

external/.d3.js:2157–2164  ·  view source on GitHub ↗
(name, value, priority)

Source from the content-addressed store, hash-verified

2155}
2156
2157function selection_style(name, value, priority) {
2158 return arguments.length > 1
2159 ? this.each((value == null
2160 ? styleRemove$1 : typeof value === "function"
2161 ? styleFunction$1
2162 : styleConstant$1)(name, value, priority == null ? "" : priority))
2163 : styleValue(this.node(), name);
2164}
2165
2166function styleValue(node, name) {
2167 return node.style.getPropertyValue(name)

Callers

nothing calls this directly

Calls 2

styleValueFunction · 0.85
eachMethod · 0.80

Tested by

no test coverage detected