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

Function createSectionIcon

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

Source from the content-addressed store, hash-verified

655 renderEnhancedDialogContent: function (contentRoot, content, options) {
656 const sectionScrollOffset = 24;
657 const createSectionIcon = function (className, iconUrl) {
658 if (!iconUrl) {
659 return null;
660 }
661
662 const icon = document.createElement('span');
663 icon.className = className;
664 icon.setAttribute('aria-hidden', 'true');
665 icon.style.setProperty('--analytics-dialog-section-icon', `url("${iconUrl}")`);
666 return icon;
667 };
668 const layout = document.createElement('div');
669 layout.className = 'analyticsEnhancedDialogLayout';
670

Callers 1

userGuidance.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected