MCPcopy Index your code
hub / github.com/Bistutu/FluentRead / handleButtonTranslation

Function handleButtonTranslation

entrypoints/main/dom.ts:334–339  ·  view source on GitHub ↗
(node: any)

Source from the content-addressed store, hash-verified

332
333// 处理按钮翻译
334function handleButtonTranslation(node: any): void {
335 // 1. 若文本非空,则调用 handleBtnTranslation 进行按钮文本翻译处理
336 if (node.textContent.trim()) {
337 handleBtnTranslation(node);
338 }
339}
340
341// 检查是否为内联元素
342function isInlineElement(node: any, tag: string): boolean {

Callers 1

grabNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected