PokéRogue
    Preparing search index...

    Interface IConfig

    Configuration options for creating a DOM input text object.

    interface IConfig {
        align?: string;
        autoCapitalize?: string;
        autoComplete?: string;
        backgroundColor?: string;
        border?: number;
        borderColor?: string;
        borderRadius?: string;
        color?: string;
        fontFamily?: string;
        fontSize?: string;
        height?: number;
        id?: string;
        inputType?: string;
        maxLength?: number;
        minLength?: number;
        outline?: string;
        paddingBottom?: string;
        paddingLeft?: string;
        paddingRight?: string;
        paddingTop?: string;
        placeholder?: string;
        readOnly?: boolean;
        selectAll?: boolean;
        spellCheck?: boolean;
        text?: string;
        tooltip?: string;
        type?: string;
        width?: number;
        x?: number;
        y?: number;
    }
    Index

    Properties

    align?: string

    Text align style.

    autoCapitalize?: string

    Auto-capitalize attribute value.

    autoComplete?: string

    Auto-complete attribute value.

    backgroundColor?: string

    Background color style.

    border?: number

    Border width style.

    borderColor?: string

    Border color style.

    borderRadius?: string

    Border radius style.

    color?: string

    Font color style.

    fontFamily?: string

    Font family style.

    fontSize?: string

    Font size style.

    height?: number

    Initial height.

    id?: string

    DOM element id.

    inputType?: string

    Input type attribute.

    maxLength?: number

    Maximum text length.

    minLength?: number

    Minimum text length.

    outline?: string

    Outline style.

    paddingBottom?: string

    Bottom padding style.

    paddingLeft?: string

    Left padding style.

    paddingRight?: string

    Right padding style.

    paddingTop?: string

    Top padding style.

    placeholder?: string

    Placeholder text.

    readOnly?: boolean

    Set to true to make input read-only.

    selectAll?: boolean

    Set to true to select all text after focus.

    spellCheck?: boolean

    Set to true to enable spell check.

    text?: string

    Initial text value.

    tooltip?: string

    Tooltip text.

    type?: string

    DOM element type.

    width?: number

    Initial width.

    x?: number

    Initial x position.

    y?: number

    Initial y position.