Function masterListItemProps

  • Constructs a props declaration for Vue components which shall be used as master list items.

    Returns {
        handleSelect: {
            default: undefined;
            required: false;
            type: PropType<((index) => void)>;
        };
        index: {
            required: true;
            type: NumberConstructor;
        };
        path: {
            required: true;
            type: StringConstructor;
        };
        removeItem: {
            default: undefined;
            required: false;
            type: PropType<((path, value) => void)>;
        };
        schema: {
            required: true;
            type: PropType<JsonSchema>;
        };
        selected: {
            required: true;
            type: BooleanConstructor;
        };
    }

    • handleSelect: {
          default: undefined;
          required: false;
          type: PropType<((index) => void)>;
      }
      • default: undefined
      • required: false
      • type: PropType<((index) => void)>
    • index: {
          required: true;
          type: NumberConstructor;
      }
      • required: true
      • type: NumberConstructor
    • path: {
          required: true;
          type: StringConstructor;
      }
      • required: true
      • type: StringConstructor
    • removeItem: {
          default: undefined;
          required: false;
          type: PropType<((path, value) => void)>;
      }
      • default: undefined
      • required: false
      • type: PropType<((path, value) => void)>
    • schema: {
          required: true;
          type: PropType<JsonSchema>;
      }
      • required: true
      • type: PropType<JsonSchema>
    • selected: {
          required: true;
          type: BooleanConstructor;
      }
      • required: true
      • type: BooleanConstructor