Skip to content

Commit 9cfd6c2

Browse files
committed
chore(): update docs
1 parent f7e2646 commit 9cfd6c2

File tree

7 files changed

+32
-3
lines changed

7 files changed

+32
-3
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
.env.test.local
1616
.env.production.local
1717
.vscode
18+
.history
19+
.idea
1820

1921
npm-debug.log*
2022
yarn-debug.log*

docs/concepts/events.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ events:
8080

8181
### 内建处理器:console.\* {#builtin-actions-console}
8282

83+
`console.log|warn|info` 默认不会打印信息在 console 中,如何开启请在 devtools 中输入`window.debugConsole.help()`查看。
84+
8385
| Action | Arguments | description |
8486
| --------------- | --------- | ----------- |
8587
| `console.log` | `any` | - |
@@ -201,9 +203,10 @@ events:
201203

202204
## 变更历史 {#history}
203205

204-
| 组件 | 版本 | 变更 |
205-
| ---------- | ------ | ------------------------- |
206-
| brick_next | 3.18.9 | 支持 `window.postMessage` |
206+
| 组件 | 版本 | 变更 |
207+
| ---------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------- |
208+
| brick_next | 3.22.3 | `console.log` `console.warn` `console.info` 默认不在 console 中打印信息,如何开启请在 devtools 中输入`window.debugConsole.help()`查看 |
209+
| - | 3.18.9 | 支持 `window.postMessage` |
207210

208211
[history 会话历史]: history.md
209212
[provider 异步回调]: provider-bricks.md#provider-async-callback

docs/concepts/expressions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ properties:
7070
| `SYS` | `object` | 系统信息,例如当前登录用户名: `SYS.username`, 当前登录用户实例 ID: `SYS.userInstanceId` |
7171
| `TAG_URL` | `function` | 使用 JavaScript 的 [Tagged Template] 来实现对 URL 参数的自动编码(会忽略 `/` 的编码)。例如 `` TAG_URL`${APP.homepage}?q=${q}` `` 可以得到 `/hello?q=a%26b` (假设 `APP.homepage` 为 `/hello`、`q` 为 `a&b`)。 |
7272
| `THEME` | `object` | 通过 `THEME.getTheme()` 获得当前主题(通常为 `"light"` 或 `"dark-v2"`) |
73+
| `LANGUAGE` | `string` | 用于标识当前应用的界面语言(如 `zh` 或 `en`),在国际化逻辑中统一使用,目前国际化语言支持`zh`,`en`。 |
7374

7475
## 递归标记 {#recursive-flag}
7576

docs/learn/installation.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,13 @@ root.render(storyboard, {
9393
context,
9494
});
9595
```
96+
97+
## Browser Support
98+
99+
Brick Next builds Web Components that run natively in all widely used desktop and mobile browsers. Custom Elements are natively supported in Chrome, Edge, Firefox, and Safari!
100+
101+
Brick Next supports the following browsers:
102+
103+
| Brick Next Version | Edge | Chrome | Firefox | Safari | Internet Explorer | Pre-Chromium Edge |
104+
|--------------------|------|--------|---------|--------|-------------------|-------------------|
105+
| V3 | v90+ | v90+ | v88+ | v15+ |||

i18n/zh/docusaurus-plugin-content-docs/current/concepts/events.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ events:
8080

8181
### 内建处理器:console.\* {#builtin-actions-console}
8282

83+
`console.log|warn|info` 默认不会打印信息在 console 中,如何开启请在 devtools 中输入`window.debugConsole.help()`查看。
84+
8385
| Action | Arguments | description |
8486
| --------------- | --------- | ----------- |
8587
| `console.log` | `any` | - |

i18n/zh/docusaurus-plugin-content-docs/current/concepts/expressions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ properties:
7070
| `SYS` | `object` | 系统信息,例如当前登录用户名: `SYS.username`, 当前登录用户实例 ID: `SYS.userInstanceId` |
7171
| `TAG_URL` | `function` | 使用 JavaScript 的 [Tagged Template] 来实现对 URL 参数的自动编码(会忽略 `/` 的编码)。例如 `` TAG_URL`${APP.homepage}?q=${q}` `` 可以得到 `/hello?q=a%26b` (假设 `APP.homepage` 为 `/hello`、`q` 为 `a&b`)。 |
7272
| `THEME` | `object` | 通过 `THEME.getTheme()` 获得当前主题(通常为 `"light"` 或 `"dark-v2"`) |
73+
| `LANGUAGE` | `string` | 用于标识当前应用的界面语言(如 `zh` 或 `en`),在国际化逻辑中统一使用,目前国际化语言支持`zh`,`en`。 |
7374

7475
## 递归标记 {#recursive-flag}
7576

i18n/zh/docusaurus-plugin-content-docs/current/learn/installation.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,13 @@ root.render(storyboard, {
9393
context,
9494
});
9595
```
96+
97+
## 浏览器支持
98+
99+
Brick Next 构建的 Web 组件可在所有广泛使用的桌面和移动浏览器中原生运行。Custom Elements在 Chrome、Edge、Firefox 和 Safari中原生支持!
100+
101+
Brick Next 支持以下浏览器:
102+
103+
| Brick Next Version | Edge | Chrome | Firefox | Safari | Internet Explorer | Pre-Chromium Edge |
104+
|--------------------|------|--------|---------|--------|-------------------|-------------------|
105+
| V3 | v90+ | v90+ | v88+ | v15+ |||

0 commit comments

Comments
 (0)