> ## Documentation Index
> Fetch the complete documentation index at: https://docs.supernote.com/llms.txt
> Use this file to discover all available pages before exploring further.

# clearElementCache

> 清除 Element 的 Android 本地缓存；清除后旧的 Element 对象将无法使用。

```ts theme={null}
static clearElementCache(): void;
```

## 示例

```ts wrap theme={null}
import { PluginCommAPI } from 'sn-plugin-lib';

/**
 * 清空 Element 原生缓存的示例。
 */
export async function exampleClearElementCache() {
  PluginCommAPI.clearElementCache();
}
```
