MCPcopy Index your code
hub / github.com/plotly/plotly.js / opener

Function opener

test/jasmine/tests/svg_text_utils_test.js:429–434  ·  view source on GitHub ↗
(dy)

Source from the content-addressed store, hash-verified

427 textCases.forEach(function(textCase) {
428 var node = mockTextSVGElement(textCase);
429 function opener(dy) {
430 return '<tspan class="line" dy="' + dy + 'em" x="0" y="0">' +
431 '<tspan style="font-weight:bold">' +
432 '<tspan style="font-style:italic">' +
433 '\u200b<tspan style="font-size:70%" dy="-0.6em">';
434 }
435 var closer = '</tspan><tspan dy="0.42em">\u200b</tspan>' +
436 '</tspan></tspan></tspan>';
437 expect(node.html()).toBe(

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…