From 1a0b2ae7281bcb9cf349da7e9a85ffcff13beba3 Mon Sep 17 00:00:00 2001 From: jixinbao Date: Wed, 17 Jul 2024 16:45:23 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E7=A7=BB=E9=99=A4=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E4=B8=AD=20this=20=E4=BF=AE=E6=AD=A3=E4=B8=BA=20componentInsta?= =?UTF-8?q?nce?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/api/canvas/canvasGetImageData.md | 2 +- docs/api/canvas/canvasPutImageData.md | 2 +- docs/api/canvas/canvasToTempFilePath.md | 2 +- docs/api/canvas/createCanvasContext.md | 2 +- docs/api/location/map.md | 2 +- docs/api/media/live-player-context.md | 4 ++-- docs/api/media/live-pusher-context.md | 2 +- docs/api/media/video-context.md | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/api/canvas/canvasGetImageData.md b/docs/api/canvas/canvasGetImageData.md index abbf92a2b..3495202ff 100644 --- a/docs/api/canvas/canvasGetImageData.md +++ b/docs/api/canvas/canvasGetImageData.md @@ -1,4 +1,4 @@ -### uni.canvasGetImageData(OBJECT,this) +### uni.canvasGetImageData(OBJECT, componentInstance) 返回一个数组,用来描述 canvas 区域隐含的像素数据,在自定义组件下,第二个参数传入自定义组件实例 this,以操作组件内 `` 组件。 diff --git a/docs/api/canvas/canvasPutImageData.md b/docs/api/canvas/canvasPutImageData.md index 5cfb5a652..345b92b01 100644 --- a/docs/api/canvas/canvasPutImageData.md +++ b/docs/api/canvas/canvasPutImageData.md @@ -1,4 +1,4 @@ -### uni.canvasPutImageData(OBJECT,this) +### uni.canvasPutImageData(OBJECT, componentInstance) 将像素数据绘制到画布的方法,在自定义组件下,第二个参数传入自定义组件实例 this,以操作组件内 `` 组件 diff --git a/docs/api/canvas/canvasToTempFilePath.md b/docs/api/canvas/canvasToTempFilePath.md index afa38277d..b12272d3a 100644 --- a/docs/api/canvas/canvasToTempFilePath.md +++ b/docs/api/canvas/canvasToTempFilePath.md @@ -1,4 +1,4 @@ -### uni.canvasToTempFilePath(object, component) +### uni.canvasToTempFilePath(object, componentInstance) 把当前画布指定区域的内容导出生成指定大小的图片,并返回文件路径。在自定义组件下,第二个参数传入自定义组件实例,以操作组件内 `` 组件。 diff --git a/docs/api/canvas/createCanvasContext.md b/docs/api/canvas/createCanvasContext.md index 275fc8c9e..1a07ec380 100644 --- a/docs/api/canvas/createCanvasContext.md +++ b/docs/api/canvas/createCanvasContext.md @@ -1,4 +1,4 @@ -### uni.createCanvasContext(canvasId, this) +### uni.createCanvasContext(canvasId, componentInstance) diff --git a/docs/api/location/map.md b/docs/api/location/map.md index 9f70fadd2..998b6872a 100644 --- a/docs/api/location/map.md +++ b/docs/api/location/map.md @@ -1,4 +1,4 @@ -### uni.createMapContext(mapId,this) +### uni.createMapContext(mapId, componentInstance?) 创建并返回 map 上下文 ``mapContext`` 对象。在自定义组件下,第二个参数传入组件实例this,以操作组件内 ```` 组件。 **注意:uni.createMapContext(mapId, this)** diff --git a/docs/api/media/live-player-context.md b/docs/api/media/live-player-context.md index 220a82c52..5c9c0d813 100644 --- a/docs/api/media/live-player-context.md +++ b/docs/api/media/live-player-context.md @@ -1,4 +1,4 @@ -### uni.createLivePlayerContext(livePlayerId, this) +### uni.createLivePlayerContext(livePlayerId, componentInstance) 创建 live-player 上下文 livePlayerContext 对象。注意是直播的播放而不是推流。 **平台差异说明** @@ -47,7 +47,7 @@ App平台的直播播放,不使用此API,而直接使用video的API。 -### uni.createLivePusherContext(livePusherId, this) +### uni.createLivePusherContext(livePusherId, componentInstance) 创建 live-pusher 上下文 livePusherContext 对象。 **平台差异说明** diff --git a/docs/api/media/live-pusher-context.md b/docs/api/media/live-pusher-context.md index 9aa6856d9..6e0ba2651 100644 --- a/docs/api/media/live-pusher-context.md +++ b/docs/api/media/live-pusher-context.md @@ -1,4 +1,4 @@ -### uni.createLivePusherContext(livePusherId, this) +### uni.createLivePusherContext(livePusherId, componentInstance) 创建 live-pusher 上下文 livePusherContext 对象。 **平台差异说明** diff --git a/docs/api/media/video-context.md b/docs/api/media/video-context.md index fb049eaf9..f1806053b 100644 --- a/docs/api/media/video-context.md +++ b/docs/api/media/video-context.md @@ -1,4 +1,4 @@ -### uni.createVideoContext(videoId, this) +### uni.createVideoContext(videoId, componentInstance) 创建并返回 video 上下文 videoContext 对象。在自定义组件下,第二个参数传入组件实例this,以操作组件内 ``