MCPcopy Create free account
hub / github.com/Rello/analytics / createSectionIcon

Function createSectionIcon

js/userGuidance.js:467–477  ·  view source on GitHub ↗
(className, iconUrl)

Source from the content-addressed store, hash-verified

465 renderEnhancedDialogContent: function (contentRoot, content, options) {
466 const sectionScrollOffset = 24;
467 const createSectionIcon = function (className, iconUrl) {
468 if (!iconUrl) {
469 return null;
470 }
471
472 const icon = document.createElement('span');
473 icon.className = className;
474 icon.setAttribute('aria-hidden', 'true');
475 icon.style.setProperty('--analytics-dialog-section-icon', `url("${iconUrl}")`);
476 return icon;
477 };
478 const layout = document.createElement('div');
479 layout.className = 'analyticsEnhancedDialogLayout';
480

Callers 1

userGuidance.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected