SAS logoSAS® Mobile Investigator API
    Preparing search index...

    Interface Control<ControlTypeAttributes>

    An object containing data for a control.

    interface Control<ControlTypeAttributes extends TypeAttributes> {
        attrs: {
            category: string;
            id: string;
            states: {
                disabled?: boolean;
                hidden?: boolean;
                readOnly?: boolean;
                required?: boolean;
            };
            type: string;
        };
        typeAttributes: ControlTypeAttributes;
    }

    Type Parameters

    Index

    Properties

    attrs: {
        category: string;
        id: string;
        states: {
            disabled?: boolean;
            hidden?: boolean;
            readOnly?: boolean;
            required?: boolean;
        };
        type: string;
    }

    The attributes of the control.

    Type Declaration

    • category: string
    • id: string

      The ID of the control on the template.

    • states: { disabled?: boolean; hidden?: boolean; readOnly?: boolean; required?: boolean }

      The potential states of the control, as distinct from the current state of the control.

    • type: string
    typeAttributes: ControlTypeAttributes

    The control's configuration object based on the configuration that is given in page designer.