src/api.ts
Methods |
mountEmbedded | ||||||
mountEmbedded(devtools: HTMLElement)
|
||||||
This method should mount the provided
Parameters :
Returns :
void
|
mountReopenButton | ||||||
mountReopenButton(onReopenClick: () => void)
|
||||||
This method should show a button on the page that can be clicked to reopen devtools. The If this method is called while devtools is still mounted, then the layout should ensure that the mounted element becomes invisible. The returned cleanup function should then make the mounted element visible again.
Parameters :
Returns :
void
|
reposition | ||||||
reposition(position: ToolbarPosition)
|
||||||
This method should update the position of the mounted element according to the requested position.
Parameters :
Returns :
void
|
resize | ||||||
resize(size: string)
|
||||||
This method should apply a requested resize to the mounted element.
Parameters :
Returns :
void
|