MCPcopy Create free account
hub / github.com/microsoft/SandDance / SVGHandler

Function SVGHandler

docs/tests/v2/es6/js/sanddance.js:101476–101486  ·  view source on GitHub ↗
(loader, tooltip)

Source from the content-addressed store, hash-verified

101474function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
101475
101476function SVGHandler(loader, tooltip) {
101477 _Handler.default.call(this, loader, tooltip);
101478
101479 var h = this;
101480 h._hrefHandler = listener(h, function (evt, item) {
101481 if (item && item.href) h.handleHref(evt, item, item.href);
101482 });
101483 h._tooltipHandler = listener(h, function (evt, item) {
101484 h.handleTooltip(evt, item, evt.type !== _events.TooltipHideEvent);
101485 });
101486}
101487
101488var prototype = (0, _vegaUtil.inherits)(SVGHandler, _Handler.default);
101489

Callers

nothing calls this directly

Calls 1

listenerFunction · 0.70

Tested by

no test coverage detected