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

# About didMount

> Method to call a specific function after the page finishes loading, including the importance of manual binding on custom pages. Also explains how to run different code logic based on whether the current form is the submission page or the details page.

1. Once the page finishes rendering, the following function is called immediately. This function is bound under the current Page > Settings > Lifecycle > Page loaded event.

**Note: Custom pages must be bound manually once; otherwise, the event will not trigger.**

2. Code inside didMount runs on both the form submission page and the details page. In certain scenarios, you need to distinguish between them as follows:

```jsx theme={"theme":{"light":"github-light","dark":"github-dark"}}
this.utils.isSubmissionPage() // Check whether the form is the submission page
this.utils.isViewPage() // Check whether the form is the details page
```
