An interface that abstracts the available kernel switching choices.

interface IKernelOptions {
    disabled?: boolean;
    groups: {
        label: string;
        options: {
            selected?: boolean;
            text: string;
            title?: string;
            value: string;
        }[];
    }[];
}

Properties

Properties

disabled?: boolean

Whether kernel options should be disabled.

groups: {
    label: string;
    options: {
        selected?: boolean;
        text: string;
        title?: string;
        value: string;
    }[];
}[]

An array of kernel option groups that correspond with <optgroup>.

Type declaration

  • label: string

    The option group label.

  • options: { selected?: boolean; text: string; title?: string; value: string }[]

    Individual kernel (and spec) options that correspond with <option>.