injectFlowbiteSidebarState
No documentation has been provided.
Presentation
const injectFlowbiteSidebarState : <
U = {
readonly config : FlowbiteSidebarConfig ;
readonly open: InputSignalWithTransform <boolean, BooleanInput>;
readonly color: InputSignal <keyof FlowbiteSidebarColors >;
readonly customTheme: InputSignal <{
host?:
| {
base?: string | undefined;
transition ?: string | undefined;
open?:
| { off?: string | undefined; on?: string | undefined }
| undefined;
}
| undefined;
}>;
readonly theme: Signal <{ host: { root: string } }>;
readonly state : CreatedState<Sidebar >;
onClick: () => void;
toggle: (newState?: boolean | undefined) => void;
},
>(
injectOptions?: InjectOptions | undefined,
) => Signal <State<U>>;