Documentation
    Preparing search index...

    Type Alias UseFretboard<T>

    Properties exposed by the useFretboard hook.

    type UseFretboard<T extends HTMLElement> = {
        fretboardRef: RefObject<Fretboard | null>;
        ref: RefObject<T | null>;
    }

    Type Parameters

    Index
    fretboardRef: RefObject<Fretboard | null>

    Reference to the Fretboard instance.

    ref: RefObject<T | null>

    Reference to the HTMLElement where the fretboard will be rendered.