Skip to content

Function: useOutline()

useOutline(): object

export headers & handleClick to generate outline

Returns

object

handleClick()

handleClick: (__namedParameters) => void

click hash heading

Parameters

__namedParameters: Event

Returns

void

headers

headers: ShallowRef<MenuItem[], MenuItem[]>

headers for toc

Defined in

packages/valaxy/client/composables/outline/headers.ts:11