{
  "version": "experimental",
  "tags": [
    {
      "name": "ef-number-field",
      "description": "Form control element for numbers.",
      "attributes": [
        {
          "name": "no-spinner",
          "description": "Set spinner's visibility",
          "type": "boolean",
          "default": "false"
        },
        {
          "name": "step",
          "description": "Set step value",
          "type": "string | null"
        },
        {
          "name": "min",
          "description": "Set minimum value.\nThis value must be less than or equal to the value of the `max` attribute",
          "type": "string | null"
        },
        {
          "name": "max",
          "description": "Set maximum value.\nThis value must be greater than or equal to the value of the `min` attribute",
          "type": "string | null"
        },
        {
          "name": "disabled",
          "description": "Set disabled state",
          "type": "boolean",
          "default": "false"
        },
        {
          "name": "error",
          "description": "Set error state",
          "type": "boolean",
          "default": "false"
        },
        {
          "name": "placeholder",
          "description": "Set placeholder text",
          "type": "string",
          "default": "\"\""
        },
        {
          "name": "readonly",
          "description": "Set readonly state",
          "type": "boolean",
          "default": "false"
        },
        {
          "name": "transparent",
          "description": "Disables all other states and border/background styles.",
          "type": "boolean",
          "default": "false"
        },
        {
          "name": "warning",
          "description": "Set warning state",
          "type": "boolean",
          "default": "false"
        },
        {
          "name": "value",
          "description": "The value of the number entered into the input.",
          "type": "string",
          "default": "\"\""
        },
        {
          "name": "clears",
          "description": "Show clears button",
          "type": "boolean",
          "default": "false"
        }
      ],
      "properties": [
        {
          "name": "noSpinner",
          "attribute": "no-spinner",
          "description": "Set spinner's visibility",
          "type": "boolean",
          "default": "false"
        },
        {
          "name": "step",
          "attribute": "step",
          "description": "Set step value",
          "type": "string | null"
        },
        {
          "name": "min",
          "attribute": "min",
          "description": "Set minimum value.\nThis value must be less than or equal to the value of the `max` attribute",
          "type": "string | null"
        },
        {
          "name": "max",
          "attribute": "max",
          "description": "Set maximum value.\nThis value must be greater than or equal to the value of the `min` attribute",
          "type": "string | null"
        },
        {
          "name": "valueAsNumber (readonly)",
          "description": "Returns the value of the element, interpreted as double number",
          "type": "number"
        },
        {
          "name": "disabled",
          "attribute": "disabled",
          "description": "Set disabled state",
          "type": "boolean",
          "default": "false"
        },
        {
          "name": "error",
          "attribute": "error",
          "description": "Set error state",
          "type": "boolean",
          "default": "false"
        },
        {
          "name": "placeholder",
          "attribute": "placeholder",
          "description": "Set placeholder text",
          "type": "string",
          "default": "\"\""
        },
        {
          "name": "readonly",
          "attribute": "readonly",
          "description": "Set readonly state",
          "type": "boolean",
          "default": "false"
        },
        {
          "name": "transparent",
          "attribute": "transparent",
          "description": "Disables all other states and border/background styles.",
          "type": "boolean",
          "default": "false"
        },
        {
          "name": "warning",
          "attribute": "warning",
          "description": "Set warning state",
          "type": "boolean",
          "default": "false"
        },
        {
          "name": "value",
          "attribute": "value",
          "description": "The value of the number entered into the input.",
          "type": "string",
          "default": "\"\""
        },
        {
          "name": "clears",
          "attribute": "clears",
          "description": "Show clears button",
          "type": "boolean",
          "default": "false"
        }
      ],
      "events": [
        {
          "name": "value-changed",
          "description": "Fired when user commits a value change. The event is not triggered if `value` property is changed programmatically."
        },
        {
          "name": "error-changed",
          "description": "Fired when user inputs invalid value. The event is not triggered if `error` property is changed programmatically."
        },
        {
          "name": "step-up",
          "description": "Fired when user acts value up on both pressing arrow up or tapping the spinner up. The event is not triggered if stepUp method is called programmatically."
        },
        {
          "name": "step-down",
          "description": "Fired when user acts value down on both pressing arrow down or tapping the spinner down. The event is not triggered if stepDown method is called programmatically."
        }
      ],
      "methods": [
        {
          "name": "stepUp",
          "description": "Increases the input value by amount of step",
          "params": [
            {
              "name": "stepIncrement",
              "description": "The stepIncrement parameter is a numeric value. If no parameter is passed, stepIncrement defaults to 1."
            }
          ]
        },
        {
          "name": "stepDown",
          "description": "Decreases the input value by amount of step",
          "params": [
            {
              "name": "stepIncrement",
              "description": "The stepIncrement parameter is a numeric value. If no parameter is passed, stepIncrement defaults to 1."
            }
          ]
        },
        {
          "name": "reportValidity",
          "description": "Validate the element input and mark it as error if its input is invalid.",
          "params": []
        },
        {
          "name": "checkValidity",
          "description": "Returns `true` if the element input is valid; otherwise, returns `false`.",
          "params": []
        }
      ]
    }
  ]
}