未验证 提交 6f14b2c9 编写于 作者: O openharmony_ci 提交者: Gitee

!7132 update docs

Merge pull request !7132 from 关明月/cherry-pick-1658818263
......@@ -1776,7 +1776,7 @@ getImageData(sx: number, sy: number, sw: number, sh: number): Object
```
<!-- xxx.hml -->
<div>
<canvas style="width: 200px; height: 150px; background-color: #ffff00;"></canvas>
<canvas id="getImageData" style="width: 200px; height: 150px; background-color: #ffff00;"></canvas>
</div>
```
......@@ -1812,7 +1812,7 @@ putImageData(imageData: Object, dx: number, dy: number, dirtyX: number, dirtyY:
```
<!-- xxx.hml -->
<div>
<canvas style="width: 200px; height: 150px; background-color: #ffff00;"></canvas>
<canvas id="getImageData" style="width: 200px; height: 150px; background-color: #ffff00;"></canvas>
</div>
```
......
......@@ -49,6 +49,8 @@ PageA跳转到PageB,跳转的共享元素为image, shareid为“shareImage
<list>
<list-item type="description">
<image src="item.jpg" shareid="shareImage" onclick="jump" class="shared-transition-style"></image>
</list-item>
<list-item>
<text onclick="jump">Click on picture to Jump to ths details</text>
</list-item>
</list>
......@@ -61,7 +63,8 @@ import router from '@system.router';
export default {
jump() {
router.push({
uri: 'detailpage',
// 路径要与config.json配置里面的相同
uri: 'pages/detailpage',
});
},
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册