Skip to content

charton API


charton API / @chart-on/vue / shell / useChartShell

Function: useChartShell() ​

useChartShell(): Readonly<ShallowRef<ChartShell | null>>

Defined in: shell.ts:30

The shell of the nearest enclosing <ChartShell>, as a ref. It holds null on a server and until the shell has mounted, then the shell.

Returns ​

Readonly<ShallowRef<ChartShell | null>>