Chartbreaker
    Preparing search index...

    Type Alias OptionExposureRelations

    OptionExposureRelations: Map<
        string,
        {
            dependentNames: string[];
            exposeWhen: boolean
            | ((val: unknown) => boolean);
        },
    >

    Map where:

    • key = name of the “parent” option to watch
    • value = an object with:
      • exposeWhen: the boolean that triggers exposing the dependents or a function with the newValue for custom validation
      • dependentNames: array of dependent option names whose EXPOSED flag will be toggled