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 extension.ViewType #23532

Merged
merged 4 commits into from
Sep 21, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: improvements
  • Loading branch information
PassionPenguin committed Sep 20, 2024
commit 01ac299cd3df647b8a7908295743d62d0a656733
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: extension.ViewType
slug: Mozilla/Add-ons/WebExtensions/API/extension/ViewType
l10n:
sourceCommit: a16fecbf75f71fc11e03ef6cd0b0c34ad6f3d480
sourceCommit: b8a0743ca8b1e1b1b1a95cc93a4413c020f11262
---

{{AddonSidebar}}
Expand All @@ -11,7 +11,7 @@ l10n:

## 类型

该类型的取值是字符串。可能的取值有:`"tab"`、`"popup"`、`"sidebar"`。
该类型的取值是字符串,且可能的取值包括 `"tab"`、`"popup"`、`"sidebar"`。

## 浏览器兼容性

Expand All @@ -20,7 +20,7 @@ l10n:
{{WebExtExamples}}

> [!NOTE]
> 此 API 基于 Chromium 的 [`chrome.extension`](https://developer.chrome.com/docs/extensions/reference/extension/#type-ViewType) API。该文档衍生自 Chromium 代码中的 [`extension.json`](https://chromium.googlesource.com/chromium/src/+/master/chrome/common/extensions/api/extension.json)。
> 此 API 基于 Chromium 的 [`chrome.extension`](https://developer.chrome.com/docs/extensions/reference/api/extension/#type-ViewType) API。该文档衍生自 Chromium 代码中的 [`extension.json`](https://chromium.googlesource.com/chromium/src/+/master/chrome/common/extensions/api/extension.json)。

<!--
// Copyright 2015 The Chromium Authors. All rights reserved.
Expand Down