A component that is used to control the application window, providing the component animator and application window linkage animator during application startup and exit.
A component that is used to control the application window, providing the component animator and application window linkage animator during application startup and exit.
The **\<Hyperlink>** component implements a link from a location in the component to another location.
> **NOTE**
>
> - This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
> - This component must be used with the system browser.
## Required Permissions
If Internet access is required, you need to apply for the **ohos.permission.INTERNET** permission. For details about how to apply for a permission, see [Declaring Permissions](../../security/accesstoken-guidelines.md).
Since API version 9, this API is supported in ArkTS widgets.
**Parameters**
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| address | string \|[Resource](ts-types.md#resource) | Yes| Web page to which the hyperlink is redirected.|
| content | string \|[Resource](ts-types.md#resource) | No| Text displayed in the hyperlink.<br>**NOTE**<br>If this component has child components, the hyperlink text is not displayed.|
## Attributes
Only the following attributes are supported.
| Name| Type| Description|
| -------- | -------- | -------- |
| color | [ResourceColor](ts-types.md#resourcecolor) | Color of the hyperlink text.|
## Example
```ts
@Entry
@Component
structHyperlinkExample{
build(){
Column(){
Column(){
Hyperlink('https://example.com/'){
Image($r('app.media.bg'))
.width(200)
.height(100)
}
}
Column(){
Hyperlink('https://example.com/','Go to the developer website'){
**\<UIExtensionComponent>** is used to embed UIs provided by other applications in the local application UI. The embedded content runs in another process, and the local application does not participate in its layout and rendering.
This component is usually used in modular development scenarios where process isolation is required.
> **NOTE**
>
> This component is supported since API version 10. Updates will be marked with a superscript to indicate their earliest API version.
>
> The APIs provided by this component are system APIs.
## Restrictions
This component does not support preview.
The ability to be started must be a UIExtensionAbility, an extension ability with UI. For details about how to implement a UIExtensionAbility, see [Implementing UIExtensionAbility](../apis/js-apis-app-ability-uiExtensionAbility.md).
The width and height of the component must be set to non-zero valid values.
| want | [Want](../apis/js-apis-app-ability-want.md) | Yes | Ability to start.|
## UIExtensionProxy
Implements a **UIExtensionProxy** instance to send data from the component host to the started UIExtensionAbility through the connection established between the two parties.
Invoked when the started UIExtensionAbility calls **terminateSelfWithResult**. After this callback is invoked, **OnRelease** is invoked.
The result data of the remote UIExtensionAbility can be processed in this callback. For details, see [AbilityResult](../apis/js-apis-inner-ability-abilityResult.md).
| releaseCode | number | Code that indicates how the remote UIExtensionAbility is destroyed. The value **0** means normal destruction, and **1** means abnormal destruction. |
Invoked when an exception occurs during the running of the UIExtensionAbility. You can obtain the error information based on the **code**, **name**, and **message** parameters in the callback and rectify the exception accordingly.
This example shows only the method used by the component and the UIExtensionAbility. For the code to run properly, you need to install the ability whose **bundleName** is **"com.example.uiextensionprovider"** and **abilityName** is **"UIExtensionProvider"** on the device.