Skip to main content
zerotal

Documentation


Documentation / @zerotal/devtools / client / DevtoolsClientOptions

Interface: DevtoolsClientOptions

Defined in: devtools/src/client.ts:23

Properties

endpoint?

optional endpoint?: string

Defined in: devtools/src/client.ts:25

Base URL path for the devtools API. Default: '/__zerotal/devtools'


mode?

optional mode?: "floating" | "standalone"

Defined in: devtools/src/client.ts:34

How the panel is mounted.

'floating' (default) pins a collapsible bar to the bottom of the page. 'standalone' fills the window and drops the collapse/close controls — the inspector dashboard. Both run the same renderers, so a tab added for one exists in the other.


mount?

optional mount?: HTMLElement

Defined in: devtools/src/client.ts:36

Element to mount into. Defaults to document.body.