Search


Search something to see results

PropertyMapType

mapped shorthand property. a set of different properties such as font

interface PropertyMapType {
    constraints?: { [key: string]: { [key: string]: any } };
    default: string[];
    keywords: string[];
    mapping?: Record<string, string>;
    multiple?: boolean;
    prefix?: {
        typ:
            | "toString"
            | "toLocaleString"
            | "toFixed"
            | "toExponential"
            | "toPrecision"
            | "valueOf";
        val: string;
    };
    previous?: string;
    required?: boolean;
    separator?: {
        typ: | "toString"
        | "toLocaleString"
        | "toFixed"
        | "toExponential"
        | "toPrecision"
        | "valueOf";
    };
    types: string[];
}

Index

Properties

constraints?: { [key: string]: { [key: string]: any } }

property constraints

Type Declaration

  • [key: string]: { [key: string]: any }

    property constraints

    Type Declaration

    • [key: string]: any

      property constraints

default: string[]

default values

keywords: string[]

keywords

mapping?: Record<string, string>

values mapping

multiple?: boolean

allow multiple values

prefix?: {
    typ:
        | "toString"
        | "toLocaleString"
        | "toFixed"
        | "toExponential"
        | "toPrecision"
        | "valueOf";
    val: string;
}

property has a prefix

Type Declaration

  • typ:
        | "toString"
        | "toLocaleString"
        | "toFixed"
        | "toExponential"
        | "toPrecision"
        | "valueOf"

    token type

  • val: string

    token value

previous?: string

previous property

required?: boolean

required

separator?: {
    typ:
        | "toString"
        | "toLocaleString"
        | "toFixed"
        | "toExponential"
        | "toPrecision"
        | "valueOf";
}

separator

Type Declaration

  • typ:
        | "toString"
        | "toLocaleString"
        | "toFixed"
        | "toExponential"
        | "toPrecision"
        | "valueOf"

    token type

types: string[]

property types