diff --git a/en/application-dev/reference/apis/js-apis-display.md b/en/application-dev/reference/apis/js-apis-display.md index d0c2ad5562ab851003c8e33828fdeb25f5f68847..8a787a420d2f2ec87d298c42f5f0b9533d5953e6 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