> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# `__AppendElement`

## Introduction

Inserts an Element object after the last child of the current Element.

## Syntax

```jsx
__AppendElement(parent: Element, child: Element) : Element;
```

### Parameters

|   Key  | Description                                     |
| :----: | ----------------------------------------------- |
| parent | The parent Element object.                      |
|  child | The child Element to be appended to the parent. |

### Return Value

Returns the appended child Element.

## Example

The frontend framework can perform insertion operations as shown below.

```jsx
// main-thread.js
let child = __CreateElement('view', 0, {});

let parent = __CreateElement('view', 0, {});

__AppendElement(parent, child);
```
