ui/client/features/shell/hooks/useDrawerActions
Cockpit client (features), v0.8. Source: ui/client/features/shell/hooks/useDrawerActions.tsx.
Functions#
useDrawerActions()#
useDrawerActions(
toggle,select):object
Defined in: ui/client/features/shell/hooks/useDrawerActions.tsx:7
Opens the drawer on a given tab (used by the Processes pill, the status bar and palette commands).
Parameters#
toggle
(pane, open?) => void
select
(region, id) => void
Returns#
object
showDrawerTab
showDrawerTab: (
tab) =>void
Parameters
tab
string
Returns
void