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

Function getFullUrl

src/components/drawing/index.js:1698–1704  ·  view source on GitHub ↗
(localId, gd)

Source from the content-addressed store, hash-verified

1696};
1697
1698function getFullUrl(localId, gd) {
1699 if (!localId) return null;
1700
1701 var context = gd._context;
1702 var baseUrl = context._exportedPlot ? '' : context._baseUrl || '';
1703 return baseUrl ? "url('" + baseUrl + '#' + localId + "')" : 'url(#' + localId + ')';
1704}
1705
1706drawing.getTranslate = function (element) {
1707 // Note the separator [^\d] between x and y in this regex

Callers 2

gradientWithBoundsFunction · 0.85
index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…