rovalra
    Preparing search index...
    • Creates a pill toggle component, which is a set of options where only one can be active. It looks like a single pill containing multiple segments.

      Parameters

      • config: {
            initialValue?: any;
            onChange?: (value: any) => void;
            options: { text: string; tooltip?: string; value: any }[];
        }
        • OptionalinitialValue?: any

          The initially selected value.

        • OptionalonChange?: (value: any) => void

          Callback when the selected value changes.

        • options: { text: string; tooltip?: string; value: any }[]

          The options for the toggle.

      Returns HTMLElement

      The pill toggle container element.