Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zh-CN: create sidebarAction.setPanel() #24902

Merged
merged 10 commits into from
Dec 23, 2024
Prev Previous commit
Next Next commit
Update index.md
  • Loading branch information
PassionPenguin authored Dec 4, 2024
commit ce797e4c5babeb1e39af2461072b1327e766930a
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ l10n:

## 面板类型
PassionPenguin marked this conversation as resolved.
Show resolved Hide resolved

侧边栏总是有一个“_清单面板_”,即在 [`sidebar_action`](/zh-CN/docs/Mozilla/Add-ons/WebExtensions/manifest.json/sidebar_action) 清单键中定义的面板
侧边栏总是有一个“_清单面板_”,即在 [`sidebar_action`](/zh-CN/docs/Mozilla/Add-ons/WebExtensions/manifest.json/sidebar_action)“manifest”键中定义的面板

如果使用 `setPanel()` 设置新面板,并包含 `tabId` 选项,则该面板仅为给定的标签页设置。这个面板称为“_标签特定面板_”。
PassionPenguin marked this conversation as resolved.
Show resolved Hide resolved

Expand Down
Loading