()
| 11 | |
| 12 | @component |
| 13 | def Root(): |
| 14 | is_mounted, toggle_is_mounted.current = use_toggle(True) |
| 15 | return html.div( |
| 16 | html.div({"id": "mount-state", "data_value": False}), |
| 17 | HasScript() if is_mounted else html.div(), |
| 18 | ) |
| 19 | |
| 20 | @component |
| 21 | def HasScript(): |
nothing calls this directly
no test coverage detected