MCPcopy
hub / github.com/wellsjo/JSON-Splora / generateTabHeaderTemplate

Method generateTabHeaderTemplate

app/js/Tab.js:68–75  ·  view source on GitHub ↗

* Creates tab html * * @param {Integer} tabId

(tabId)

Source from the content-addressed store, hash-verified

66 */
67
68 static generateTabHeaderTemplate(tabId) {
69 return `
70 <li data-tab="${tabId}">
71 <a href="#tab-${tabId}">&nbsp;</a>
72 <span class="ui-icon ui-icon-close" role="presentation">Remove Tab</span>
73 </li>
74 `
75 }
76
77 /**
78 * Generate tab content html

Callers 1

newTabMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected