Skip to content

Commit

Permalink
update API docs. [skip CI]
Browse files Browse the repository at this point in the history
  • Loading branch information
pigpigyyy committed Dec 3, 2023
1 parent a59e9cc commit 68a6bd7
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 62 deletions.
31 changes: 0 additions & 31 deletions Site/docs/api/Class/App.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -229,37 +229,6 @@ const testNames: {string}
locale: string
```

## App.Orientation

**Type:** Enumeration.

**Description:**

  The display orientation modes.

**Signature:**
```tl
enum Orientation
"LandscapeLeft"
"LandscapeRight"
"Portrait"
"PortraitUpsideDown"
end
```

## orientation

**Type:** Field.

**Description:**

  The display orientation setting of the current device only takes effect on iOS and Android systems.

**Signature:**
```tl
orientation: Orientation
```

## themeColor

**Type:** Field.
Expand Down
13 changes: 13 additions & 0 deletions Site/docs/api/Class/Node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,19 @@ swallowMouseWheel: boolean
keyboardEnabled: boolean
```

## controllerEnabled

**Type:** Field.

**Description:**

  Whether controller events are enabled on the node.

**Signature:**
```tl
controllerEnabled: boolean
```

## renderGroup

**Type:** Field.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,37 +228,6 @@ const testNames: {string}
locale: string
```

## App.Orientation

**类型:** 枚举。

**描述:**

  屏幕显示方向的模式。

**签名:**
```tl
enum Orientation
"LandscapeLeft"
"LandscapeRight"
"Portrait"
"PortraitUpsideDown"
end
```

## orientation

**类型:** 成员变量。

**描述:**

  当前设备的屏幕显示方向设定,只在iOS和Android系统上生效。

**签名:**
```tl
orientation: Orientation
```

## themeColor

**类型:** 成员变量。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,19 @@ swallowMouseWheel: boolean
keyboardEnabled: boolean
```

## controllerEnabled

**类型:** 成员变量。

**描述:**

  是否启用游戏手柄事件。

**签名:**
```tl
controllerEnabled: boolean
```

## renderGroup

**类型:** 成员变量。
Expand Down

0 comments on commit 68a6bd7

Please sign in to comment.