x4js - v2.3.33
    Preparing search index...

    Interface KnobProps

    Base properties for all components.

    interface KnobProps {
        attrs?: Record<string, string | number | boolean>;
        change?: EventCallback<EvChange>;
        cls?: string;
        content?: ComponentContent;
        disabled?: boolean;
        dom_events?: GlobalDOMEvents;
        existingDOM?: HTMLElement;
        flex?: number | boolean;
        height?: string | number;
        hidden?: boolean;
        icon?: string;
        id?: string;
        infinite?: boolean;
        label?: string | UnsafeHtml;
        max?: number;
        min?: number;
        name?: string;
        ns?: string;
        size?: number;
        step?: number;
        stretch?: boolean;
        style?: StyleProps;
        tag?: string;
        tooltip?: string;
        turn?: number;
        value?: number;
        width?: string | number;
    }

    Hierarchy (View Summary)

    Index
    attrs?: Record<string, string | number | boolean>

    HTML attributes.

    cls?: string

    Additional CSS classes.

    Child content (components, strings, or HTML).

    disabled?: boolean

    Component is initialy disabled.

    dom_events?: GlobalDOMEvents

    DOM event listeners.

    existingDOM?: HTMLElement

    Existing DOM element to wrap.

    flex?: number | boolean

    Enables flex layout (boolean) or sets flex-grow (number).

    height?: string | number

    Height (px or string like "50%").

    hidden?: boolean

    Component is initialy hidden.

    icon?: string
    id?: string

    Element ID.

    infinite?: boolean

    the knob turns without end: the value has no min nor max

    label?: string | UnsafeHtml

    under the dial, with its icon

    max?: number
    min?: number

    range: the value between min and max (0 to 100 by default), on an arc of 270°

    name?: string

    for a Form: it reads the value as a number

    ns?: string

    Namespace for SVG/MathML elements.

    size?: number

    the diameter of the dial, in px (48 by default): width and height size the whole, label included

    step?: number
    stretch?: boolean
    style?: StyleProps

    Inline CSS styles.

    tag?: string

    HTML tag name (default: "div").

    tooltip?: string

    Tooltip text.

    turn?: number

    infinite: the value of a whole turn (360 by default: the value is an angle)

    value?: number
    width?: string | number

    Width (px or string like "50%" or "3em").