From 2e82e95f65e84c65d7797eb46d11d97a10ccd8b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=9B=E4=BA=9A=E8=8A=B3?= Date: Wed, 6 Apr 2022 03:07:24 +0000 Subject: [PATCH] update en/application-dev/reference/apis/js-apis-display.md. Signed-off-by: @ge-yafang --- en/application-dev/reference/apis/js-apis-display.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/en/application-dev/reference/apis/js-apis-display.md b/en/application-dev/reference/apis/js-apis-display.md index d0c2ad5562..8a787a420d 100644 --- a/en/application-dev/reference/apis/js-apis-display.md +++ b/en/application-dev/reference/apis/js-apis-display.md @@ -38,7 +38,7 @@ Describes the attributes of a display. | id | number | Yes| No| ID of the display.| | name | string | Yes| No| Name of the display.| | alive | boolean | Yes| No| Whether the display is alive.| -| state | [DisplayState](#DisplayState) | Yes| No| State of the display.| +| state | [DisplayState](#displaystate) | Yes| No| State of the display.| | refreshRate | number | Yes| No| Refresh rate of the display.| | rotation | number | Yes| No| Screen rotation angle of the display.| | width | number | Yes| No| Width of the display, in pixels.| @@ -61,7 +61,7 @@ Obtains the default display object. - Parameters | Name| Type| Mandatory| Description| | -------- | -------- | -------- | -------- | - | callback | AsyncCallback<[Display](#Display)> | Yes| Callback used to return the default display object.| + | callback | AsyncCallback<[Display](#display)> | Yes| Callback used to return the default display object.| - Example ``` @@ -88,7 +88,7 @@ Obtains the default display object. | Type | Description | | ---------------------------------- | ---------------------------------------------- | - | Promise<[Display](#Display)> | Promise used to return the default display object.| + | Promise<[Display](#display)> | Promise used to return the default display object.| - Example @@ -113,7 +113,7 @@ Obtains all the display objects. | Name | Type | Mandatory| Description | | -------- | ---------------------------------------------------- | ---- | ------------------------------- | - | callback | AsyncCallback<Array<[Display](Display)>> | Yes | Callback used to return all the display objects.| + | callback | AsyncCallback<Array<[Display](#display)>> | Yes | Callback used to return all the display objects.| - Example @@ -139,7 +139,7 @@ Obtains all the display objects. | Type | Description | | ----------------------------------------------- | ------------------------------------------------------- | - | Promise<Array<[Display](#Display)>> | Promise used to return an array containing all the display objects.| + | Promise<Array<[Display](#display)>> | Promise used to return an array containing all the display objects.| - Example -- GitLab