Interface ConstantConverterOptions

Extra options for the ConstantConverter.

interface ConstantConverterOptions {
    container?: boolean;
    disabledMediaRanges?: string[];
    document?: boolean;
    enabledMediaRanges?: string[];
    minQuality?: number;
}

Properties

container?: boolean

Whether this should trigger on containers.

disabledMediaRanges?: string[]

Media ranges for which the conversion should not happen.

document?: boolean

Whether this should trigger on documents.

enabledMediaRanges?: string[]

Media ranges for which the conversion should happen.

minQuality?: number

The minimum requested quality/preference before this should trigger.