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

# DynamicNodeCompileButton

> The DynamicNodeCompileButton control allows users to recompile a dynamic node based on the current control values.

```
DynamicNodeCompileButton(label="Update Dynamic Node")
```

# Example

```python theme={null}
from mirmod.controls import DynamicNodeCompileButton

@wob.receiver("state", "compile", control=DynamicNodeCompileButton(label="Refresh Node"), hidden=False, connectable=False)
def compile_button(self, data):
	pass
```

<Note>This control presents a button that lets power users re-compile the node from the current state of the node's API within the designer. This enables dynamic nodes that can change their attributes depending on the state of other controls on the node.</Note>

# Parameters

| Name  | Type   | Description                                                      |
| ----- | ------ | ---------------------------------------------------------------- |
| label | string | The text displayed on the button. Default "Update Dynamic Node". |
