diff --git a/docs/api/canvas/canvasGetImageData.md b/docs/api/canvas/canvasGetImageData.md index abbf92a2bac1a9bb37cddf4c8b123b4e331fb7fd..3495202ff6005eac13a726b0719e9d142a9044fb 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 5cfb5a6523df50a1fbf8f7596da786f19a2ef2d4..345b92b017a8b05abc8a2c36d103a584c9ec9508 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 afa38277d2db2c68e56e747f912101c525994a4c..b12272d3a412fef26040cc81d098cee7460d9613 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 275fc8c9ea10e2180fc01eb7df28cc05ed9c3059..1a07ec3806f9fb205f4b60affb8af04c86ca076f 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 9f70fadd20a9090ccd57573342cb9d849d48702c..998b6872a092f1d453e381d0cd0f1b44b4846755 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 220a82c52cdd6d95c9ef43d8177dc16613d7e32f..5c9c0d813b4e734629c11408f8fb18d026629ecd 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 9aa6856d93ec3489126835348eceec60a55ee455..6e0ba26513518516ead0b56bd5dfd6863fd49cea 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 fb049eaf99425464efda082ffe3619ea13234215..f1806053bc5ad942faca012768473749aca1af50 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,以操作组件内 ``