From 29ec003cadd4292fc373e4135851bb1d17bcc20e Mon Sep 17 00:00:00 2001 From: jinqi6 Date: Mon, 21 Aug 2023 19:06:19 +0800 Subject: [PATCH] =?UTF-8?q?fixed=204475509=20from=20https://gitee.com/jinq?= =?UTF-8?q?i6/docs=5F0620/pulls/22711=20fixed=208ae82f1=20from=20https://g?= =?UTF-8?q?itee.com/jinqi6/docs=5F0620/pulls/22618=20=E6=97=A0=E9=9A=9C?= =?UTF-8?q?=E7=A2=8D=E6=A1=86=E6=9E=B6=E4=BF=AE=E6=94=B9doc=E6=96=87?= =?UTF-8?q?=E6=A1=A3=20Signed-off-by:=20jinqi6=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...r-application-accessibilityExtensionContext.md | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-application-accessibilityExtensionContext.md b/zh-cn/application-dev/reference/apis/js-apis-inner-application-accessibilityExtensionContext.md index af31fca7a6..0dcb39397c 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-application-accessibilityExtensionContext.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-application-accessibilityExtensionContext.md @@ -635,7 +635,6 @@ attributeNames\(): Promise\>; **示例:** ```ts -let rootElement; let attributeNames; rootElement.attributeNames().then((data) => { console.log('get attribute names success'); @@ -661,7 +660,6 @@ attributeNames\(callback: AsyncCallback\ **示例:** ```ts -let rootElement; let attributeNames; rootElement.attributeNames((err, data) => { if (err) { @@ -705,7 +703,6 @@ attributeValue\(attributeName: T): Promi ```ts let attributeName = 'name'; let attributeValue; -let rootElement; try { rootElement.attributeValue(attributeName).then((data) => { console.log('get attribute value by name success'); @@ -744,7 +741,6 @@ attributeValue\(attributeName: T, **示例:** ```ts -let rootElement; let attributeValue; let attributeName = 'name'; try { @@ -777,7 +773,6 @@ actionNames(): Promise\>; **示例:** ```ts -let rootElement; let actionNames; rootElement.actionNames().then((data) => { console.log('get action names success'); @@ -803,7 +798,6 @@ actionNames(callback: AsyncCallback\>): void; **示例:** ```ts -let rootElement; let actionNames; rootElement.actionNames((err, data) => { if (err) { @@ -846,7 +840,6 @@ performAction(actionName: string, parameters?: object): Promise\; **示例:** ```ts -let rootElement; try { rootElement.performAction('action').then((data) => { console.info('perform action success'); @@ -883,7 +876,6 @@ performAction(actionName: string, callback: AsyncCallback\): void; **示例:** ```ts -let rootElement; try { rootElement.performAction('action', (err, data) => { if (err) { @@ -923,7 +915,6 @@ performAction(actionName: string, parameters: object, callback: AsyncCallback\