未验证 提交 e3c315c7 编写于 作者: O openharmony_ci 提交者: Gitee

!20370 翻译完成 20098+19065+20111+20299

Merge pull request !20370 from ester.zhou/TR-20098
...@@ -220,7 +220,7 @@ screenlock.lock().then((data) => { ...@@ -220,7 +220,7 @@ screenlock.lock().then((data) => {
onSystemEvent(callback: Callback<SystemEvent>): boolean onSystemEvent(callback: Callback<SystemEvent>): boolean
Registers a callback for system events related to screen locking. This API can be called only by system screen lock applications. Registers a callback for system events related to screen locking. This API can be called only by screen lock applications.
**System capability**: SystemCapability.MiscServices.ScreenLock **System capability**: SystemCapability.MiscServices.ScreenLock
...@@ -264,7 +264,7 @@ try { ...@@ -264,7 +264,7 @@ try {
sendScreenLockEvent(event: String, parameter: number, callback: AsyncCallback<boolean>): void sendScreenLockEvent(event: String, parameter: number, callback: AsyncCallback<boolean>): void
Sends an event to the screen lock service. This API uses an asynchronous callback to return the result. Sends an event to the screen lock service. This API can be called only by screen lock applications. It uses an asynchronous callback to return the result.
**System capability**: SystemCapability.MiscServices.ScreenLock **System capability**: SystemCapability.MiscServices.ScreenLock
...@@ -304,7 +304,7 @@ screenlock.sendScreenLockEvent('unlockScreenResult', 0, (err, result) => { ...@@ -304,7 +304,7 @@ screenlock.sendScreenLockEvent('unlockScreenResult', 0, (err, result) => {
sendScreenLockEvent(event: String, parameter: number): Promise<boolean> sendScreenLockEvent(event: String, parameter: number): Promise<boolean>
Sends an event to the screen lock service. This API uses a promise to return the result. Sends an event to the screen lock service. This API can be called only by screen lock applications. It uses a promise to return the result.
**System capability**: SystemCapability.MiscServices.ScreenLock **System capability**: SystemCapability.MiscServices.ScreenLock
......
...@@ -26,7 +26,7 @@ In addition to the [universal attributes](ts-universal-attributes-size.md), the ...@@ -26,7 +26,7 @@ In addition to the [universal attributes](ts-universal-attributes-size.md), the
| ----------- | ---------- | ------------------ | | ----------- | ---------- | ------------------ |
| vertical | boolean | Whether a vertical divider is used. **false**: A horizontal divider is used.<br>**true**: A vertical divider is used.<br>Default value: **false**<br>Since API version 9, this API is supported in ArkTS widgets.| | vertical | boolean | Whether a vertical divider is used. **false**: A horizontal divider is used.<br>**true**: A vertical divider is used.<br>Default value: **false**<br>Since API version 9, this API is supported in ArkTS widgets.|
| color | [ResourceColor](ts-types.md#resourcecolor) | Color of the divider.<br>Default value: **'\#33182431'**<br>Since API version 9, this API is supported in ArkTS widgets.| | color | [ResourceColor](ts-types.md#resourcecolor) | Color of the divider.<br>Default value: **'\#33182431'**<br>Since API version 9, this API is supported in ArkTS widgets.|
| strokeWidth | number \| string | Width of the divider.<br>Default value: **1**<br>Unit: vp<br>Since API version 9, this API is supported in ArkTS widgets.<br>**NOTE**<br>This attribute cannot be set to a percentage. The priority of this attribute is lower than that of the universal attribute [height](ts-universal-attributes-size.md). If the value of this attribute is greater than that of the universal attribute, cropping is performed based on the universal attribute settings.| | strokeWidth | number \| string | Width of the divider.<br>Default value: **1px**<br>Unit: vp<br>Since API version 9, this API is supported in ArkTS widgets.<br>**NOTE**<br>This attribute cannot be set to a percentage. The priority of this attribute is lower than that of the universal attribute [height](ts-universal-attributes-size.md). If the value of this attribute is greater than that of the universal attribute, cropping is performed based on the universal attribute settings.|
| lineCap | [LineCapStyle](ts-appendix-enums.md#linecapstyle) | Cap style of the divider.<br>Default value: **LineCapStyle.Butt**<br>Since API version 9, this API is supported in ArkTS widgets.| | lineCap | [LineCapStyle](ts-appendix-enums.md#linecapstyle) | Cap style of the divider.<br>Default value: **LineCapStyle.Butt**<br>Since API version 9, this API is supported in ArkTS widgets.|
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
## Stack, Flex, and Grid ## Stack, Flex, and Grid
- [Stack](ts-container-stack.md) - [Stack](ts-container-stack.md)
A container where child components are successively stacked and the latter one overwrites the previous one. A container where child components are successively stacked and the latter one overwrites the previous one.
- [Flex](ts-container-flex.md) - [Flex](ts-container-flex.md)
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
## Scroll and Swipe ## Scroll and Swipe
- [Scroll](ts-container-scroll.md) - [Scroll](ts-container-scroll.md)
A container that scrolls the content when the layout size of a component exceeds the size of its parent component. A container that scrolls the content when the layout size of a component exceeds the size of its parent component.
- [Swiper](ts-container-swiper.md) - [Swiper](ts-container-swiper.md)
...@@ -79,9 +79,9 @@ ...@@ -79,9 +79,9 @@
## Navigation ## Navigation
- [Navigator](ts-container-navigator.md) - [Navigator](ts-container-navigator.md)
A container that provides redirection. A container that provides redirection.
- [Navigation](ts-basic-components-navigation.md) - [Navigation](ts-basic-components-navigation.md)
A container that typically functions as the root container of a page and displays the title bar, toolbar, and navigation bar based on the attribute settings. A container that typically functions as the root container of a page and displays the title bar, toolbar, and navigation bar based on the attribute settings.
...@@ -293,7 +293,7 @@ ...@@ -293,7 +293,7 @@
A component that is used to display widgets. A component that is used to display widgets.
- [Menu](ts-basic-components-menu.md) - [Menu](ts-basic-components-menu.md)
A component that is used to present a vertical list of items to the user. A component that is used to present a vertical list of items to the user.
- [MenuItem](ts-basic-components-menuitem.md) - [MenuItem](ts-basic-components-menuitem.md)
A component that is used to represent an item in a menu. A component that is used to represent an item in a menu.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册