Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
.env.test.local
.env.production.local
.vscode
.history
.idea

npm-debug.log*
yarn-debug.log*
Expand Down
9 changes: 6 additions & 3 deletions docs/concepts/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ events:

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

`console.log|warn|info` 默认不会打印信息在 console 中,如何开启请在 devtools 中输入`window.debugConsole.help()`查看。

| Action | Arguments | description |
| --------------- | --------- | ----------- |
| `console.log` | `any` | - |
Expand Down Expand Up @@ -201,9 +203,10 @@ events:

## 变更历史 {#history}

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

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

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

Expand Down
10 changes: 10 additions & 0 deletions docs/learn/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,13 @@ root.render(storyboard, {
context,
});
```

## Browser Support

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!

Brick Next supports the following browsers:

| Brick Next Version | Edge | Chrome | Firefox | Safari | Internet Explorer | Pre-Chromium Edge |
|--------------------|------|--------|---------|--------|-------------------|-------------------|
| V3 | v90+ | v90+ | v88+ | v15+ | ❌ | ❌ |
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ events:

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

`console.log|warn|info` 默认不会打印信息在 console 中,如何开启请在 devtools 中输入`window.debugConsole.help()`查看。

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,13 @@ root.render(storyboard, {
context,
});
```

## 浏览器支持

Brick Next 构建的 Web 组件可在所有广泛使用的桌面和移动浏览器中原生运行。Custom Elements在 Chrome、Edge、Firefox 和 Safari中原生支持!

Brick Next 支持以下浏览器:

| Brick Next Version | Edge | Chrome | Firefox | Safari | Internet Explorer | Pre-Chromium Edge |
|--------------------|------|--------|---------|--------|-------------------|-------------------|
| V3 | v90+ | v90+ | v88+ | v15+ | ❌ | ❌ |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

Loading