@next-core/next-docs 1.2.229 → 1.2.230
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.2.230](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.229...@next-core/next-docs@1.2.230) (2022-03-29)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @next-core/next-docs
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [1.2.229](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.228...@next-core/next-docs@1.2.229) (2022-03-29)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @next-core/next-docs
|
|
@@ -49,6 +49,7 @@ export interface BrickLifeCycle
|
|
|
49
49
|
| [onAnchorUnload](./brick-types.bricklifecycle.onanchorunload.md) | [BrickEventHandler](./brick-types.brickeventhandler.md) \| [BrickEventHandler](./brick-types.brickeventhandler.md)<!-- -->\[\] | 定义构件在页面渲染完成后,当页面 URL 中不包含非空的 anchor(URL hash 去掉前缀 \#)时,需要处理的动作。 |
|
|
50
50
|
| [onBeforePageLeave](./brick-types.bricklifecycle.onbeforepageleave.md) | [BrickEventHandler](./brick-types.brickeventhandler.md) \| [BrickEventHandler](./brick-types.brickeventhandler.md)<!-- -->\[\] | 定义构件在页面离开前要执行的动作。 |
|
|
51
51
|
| [onBeforePageLoad](./brick-types.bricklifecycle.onbeforepageload.md) | [BrickEventHandler](./brick-types.brickeventhandler.md) \| [BrickEventHandler](./brick-types.brickeventhandler.md)<!-- -->\[\] | 定义构件在页面加载前要执行的动作。 |
|
|
52
|
+
| [onMediaChange](./brick-types.bricklifecycle.onmediachange.md) | [BrickEventHandler](./brick-types.brickeventhandler.md) \| [BrickEventHandler](./brick-types.brickeventhandler.md)<!-- -->\[\] | 定义构件在页面渲染完成后,当求值占位符的 MEDIA 全局对象改变时,需要处理的动作。 |
|
|
52
53
|
| [onPageLoad](./brick-types.bricklifecycle.onpageload.md) | [BrickEventHandler](./brick-types.brickeventhandler.md) \| [BrickEventHandler](./brick-types.brickeventhandler.md)<!-- -->\[\] | 定义构件在页面加载完成后的动作。 |
|
|
53
54
|
| [useResolves](./brick-types.bricklifecycle.useresolves.md) | [ResolveConf](./brick-types.resolveconf.md)<!-- -->\[\] | 定义在构件装载前需要进行的异步数据处理,计算结果将作为属性表赋值给构件。 |
|
|
54
55
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: brick-types.bricklifecycle.onmediachange
|
|
3
|
+
title: BrickLifeCycle.onMediaChange
|
|
4
|
+
hide_title: true
|
|
5
|
+
custom_edit_url: null
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
|
+
|
|
10
|
+
[API Reference](./index.md) > [@next-core/brick-types](./brick-types.md) > [BrickLifeCycle](./brick-types.bricklifecycle.md) > [onMediaChange](./brick-types.bricklifecycle.onmediachange.md)
|
|
11
|
+
|
|
12
|
+
## BrickLifeCycle.onMediaChange property
|
|
13
|
+
|
|
14
|
+
定义构件在页面渲染完成后,当求值占位符的 MEDIA 全局对象改变时,需要处理的动作。
|
|
15
|
+
|
|
16
|
+
**Signature:**
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
onMediaChange?: BrickEventHandler | BrickEventHandler[];
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
**Reference:** [BrickEventHandler](./brick-types.brickeventhandler.md)
|
|
23
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-core/next-docs",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.230",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-core/tree/master/packages/next-docs",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"sideEffects": false,
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@easyops-cn/brick-next-pipes": "^0.3.12",
|
|
24
|
-
"@next-core/brick-kit": "^2.
|
|
25
|
-
"@next-core/brick-types": "^2.
|
|
24
|
+
"@next-core/brick-kit": "^2.114.0",
|
|
25
|
+
"@next-core/brick-types": "^2.61.0",
|
|
26
26
|
"fs-extra": "^10.0.1"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "182f2fcd7fa5b1eb27a1c14ba2b1e803a4fa2fae"
|
|
29
29
|
}
|