MCPcopy Create free account
hub / github.com/MemeTray/MemeTray / initMemeTrayComponents

Function initMemeTrayComponents

tools/all-in-one/script.js:94–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92// Initialize the taskbar and preview panel via the shared module
93let memeTrayUI = null
94function initMemeTrayComponents() {
95 try {
96 memeTrayUI = initMemeTrayUI({
97 taskbar: {
98 containerId: 'taskbar',
99 showClock: true,
100 showTrayIcon: true,
101 showSystemIcons: true
102 },
103 preview: {
104 containerId: 'previewPanel',
105 title: 'GIF Preview',
106 dragHint: 'Drag & Drop GIF files here',
107 pasteHint: 'or paste with Ctrl+V',
108 downloadAllText: 'Download All as ZIP',
109 clearAllText: 'Clear All'
110 }
111 })
112
113 console.log('MemeTray UI initialized successfully')
114 } catch (err) {
115 console.error('Failed to initialize MemeTray UI:', err)
116 }
117}
118
119// Register event listeners
120function setupEventListeners() {

Callers 1

initFunction · 0.85

Calls 1

initMemeTrayUIFunction · 0.90

Tested by

no test coverage detected