mountDevtools
functionsignature
mountDevtools(container, config): () => voidMount the DevTools React app into a DOM container.
Parameters
| Name | Type | Description |
|---|---|---|
container | HTMLElement | The DOM element to mount into. |
| Name | Type | Description |
|---|---|---|
config | HubConnectionConfig | Hub connection configuration. For a hub started with a token, include the same
value as authToken. |
Returns
() => void, An unmount function.