MCPcopy
hub / github.com/plotly/plotly.js / assertLabelsInsideBoxes

Function assertLabelsInsideBoxes

test/jasmine/tests/hover_label_test.js:1973–1978  ·  view source on GitHub ↗
(nodes, msgPrefix)

Source from the content-addressed store, hash-verified

1971 }
1972
1973 function assertLabelsInsideBoxes(nodes, msgPrefix) {
1974 var msgPrefixFmt = msgPrefix ? '[' + msgPrefix + '] ' : '';
1975
1976 assertElemInside(nodes.primaryText, nodes.primaryBox, msgPrefixFmt + 'Primary text inside box');
1977 assertElemInside(nodes.secondaryText, nodes.secondaryBox, msgPrefixFmt + 'Secondary text inside box');
1978 }
1979
1980 function assertSecondaryRightToPrimaryBox(nodes, msgPrefix) {
1981 var msgPrefixFmt = msgPrefix ? '[' + msgPrefix + '] ' : '';

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…