MCPcopy
hub / github.com/Bistutu/FluentRead / getTooltipIcon

Function getTooltipIcon

entrypoints/content.ts:871–878  ·  view source on GitHub ↗

* 获取提示图标

(type: 'translating' | 'success' | 'error')

Source from the content-addressed store, hash-verified

869 * 获取提示图标
870 */
871function getTooltipIcon(type: 'translating' | 'success' | 'error'): string {
872 const icons = {
873 translating: '•',
874 success: '✓',
875 error: '!'
876 };
877 return icons[type];
878}
879
880/**
881 * 移除现有的提示弹窗

Callers 1

createTranslationTooltipFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected