Name | Date | Size | ||
---|---|---|---|---|
.. | 25-Oct-2024 | 4 KiB | ||
.gitignore | H A D | 25-Oct-2024 | 96 | |
AppScope/ | H | 25-Oct-2024 | 4 KiB | |
build-profile.json5 | H A D | 25-Oct-2024 | 1 KiB | |
entry/ | H | 25-Oct-2024 | 4 KiB | |
hvigor/ | H | 25-Oct-2024 | 4 KiB | |
hvigorfile.js | H A D | 25-Oct-2024 | 168 | |
hvigorw | H A D | 25-Oct-2024 | 2.1 KiB | |
hvigorw.bat | H A D | 25-Oct-2024 | 2 KiB | |
oh-package.json5 | H A D | 25-Oct-2024 | 822 | |
ohosTest.md | H A D | 25-Oct-2024 | 779 | |
README.md | H A D | 25-Oct-2024 | 1.6 KiB | |
README_zh.md | H A D | 25-Oct-2024 | 4 KiB | |
screenshots/device/ | H | 25-Oct-2024 | 4 KiB |
README.md
1# Window Extension Ability 2 3### Introduction 4 5This sample simulates the **Setting** app, where you can touch the menu bar to go to the details page. 6 7In this sample, the [Window Extension Ability](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-application-windowExtensionAbility.md) is used to set abilities, and [AbilityComponent](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/arkui-ts/ts-container-ability-component.md) is used to load abilities. 8 9### Usage 10 111. In portrait mode, touch the **Setting** menu bar on the left. The details page is displayed. 12 132. In landscape mode, touch the **Setting** menu bar on the left. The details page is displayed on the right. 14 15### Preview 16 17  18  19 20### Required Permissions 21 22N/A 23 24### Dependency 25 26N/A 27 28### Constraints 29 301. This sample can only be run on standard-system devices that use the Rockchip RK3568 chip. 31 322. This sample demonstrates the stage model, which supports only the SDK of API version 9 (SDK version: 3.2.6.3 Beta2). 33 343. DevEco Studio 3.1 Canary1 (Build Version: 3.1.0.100) must be used. 35 364. **WindowExtensionAbility** and **AbilityComponent** are system APIs and require the use of the Full SDK. To use the Full SDK, you must manually obtain it from the mirror and switch to it in DevEco Studio. For details, see [Guide to Switching to Full SDK](https://docs.openharmony.cn/pages/v3.2/en/application-dev/quick-start/full-sdk-switch-guide.md/). 37 38