HTML Flip Book - v0.0.0-alpha.36
    Preparing search index...

    Interface ToolbarProps

    interface ToolbarProps {
        children: ReactNode;
        className?: string;
        commandOptions?: Record<string, CommandOptions>;
        commands?: CommandDefinition[];
        direction?: "rtl" | "ltr";
        enableHotkeys?: boolean;
        flipBookRef: RefObject<FlipBookHandle | null>;
        fullscreenTargetRef?: RefObject<HTMLElement | null>;
        locale?: any;
        pageSemantics?: any;
    }
    Index

    Properties

    children: ReactNode

    Toolbar children in reading order: First, Prev, Indicator, Next, Last

    className?: string

    Additional CSS class name

    commandOptions?: Record<string, CommandOptions>

    Options for specific commands (e.g., custom hotkeys, data)

    commands?: CommandDefinition[]

    Custom commands to register (merged with defaults)

    direction?: "rtl" | "ltr"

    Text direction. Defaults from intl locale (en-US → ltr).

    enableHotkeys?: boolean

    Enable keyboard hotkeys for commands. Defaults to true

    flipBookRef: RefObject<FlipBookHandle | null>

    Ref to the FlipBook component for programmatic control

    fullscreenTargetRef?: RefObject<HTMLElement | null>

    When set, fullscreen (keyboard or button) targets this container only (e.g. sefer + toolbar wrapper).

    locale?: any

    Locale for UI strings. Defaults to en-US.

    pageSemantics?: any

    Optional page semantics for semantic indicator (e.g. perek/chapter)