useShadowRootSelection()
Home > @backstage/plugin-techdocs-react
> useShadowRootSelection
Hook for retrieving a selection within the ShadowRoot.
Signature:
useShadowRootSelection: (waitMillis?: number) => Selection | null
Parameters
Parameter |
Type |
Description |
---|---|---|
waitMillis |
number |
(Optional) |
Selection | null