# collapse

### Description

@short: 将 scheduler 从展开状态恢复到常规大小

@signature: collapse: () =\> void

### Example

~~~jsx
scheduler.collapse();
~~~

### Details

:::note
 该方法需要启用 [expand](guides/extensions-list.md#expand) 扩展。 
:::

![collapse_method](/img/collapse_method.png)

### Related API
- [expand](api/method/expand.md)
