rovalra
    Preparing search index...

    Function createNavbarButton

    • Creates a new button in the navbar.

      Parameters

      • options: {
            iconSvgData: string;
            id: string;
            onClick?: (arg0: HTMLElement) => void;
            tooltipText?: string;
        }

        The options for the button.

        • iconSvgData: string

          The SVG string for the icon.

        • id: string

          The ID for the new navbar item.

        • OptionalonClick?: (arg0: HTMLElement) => void

          The callback to run when the button is clicked. The button element is passed as an argument.

        • OptionaltooltipText?: string

          The tooltip text for the button.

      Returns Promise<HTMLElement | null>

      A promise that resolves with the button element when it's created, or null.