{
  "props": {
    "position": {
      "type": "String",
      "desc": "Position within window of where QAjaxBar should be displayed",
      "default": "top",
      "values": [ "top", "right", "bottom", "left" ],
      "examples": [ "bottom" ],
      "category": "content"
    },

    "size": {
      "extends": "size",
      "default": "2px"
    },

    "color": {
      "extends": "color"
    },

    "skip-hijack": {
      "type": "Boolean",
      "desc": "Skip Ajax hijacking (not a reactive prop)",
      "category": "behavior"
    },

    "reverse": {
      "type": "Boolean",
      "desc": "Reverse direction of progress",
      "category": "behavior"
    }
  },

  "events": {
    "start": {
      "desc": "Emitted when bar is triggered to appear"
    },

    "stop": {
      "desc": "Emitted when bar has finished its job"
    }
  },

  "methods": {
    "start": {
      "desc": "Notify bar you are waiting for a new process to finish",
      "params": {
        "speed": {
          "type": "Number",
          "desc": "Delay (in milliseconds) between bar progress increments",
          "examples": [ 400 ]
        }
      }
    },

    "increment": {
      "desc": "Manually trigger a bar progress increment",
      "params": {
        "amount": {
          "type": "Number",
          "desc": "Amount (0.0 < x < 1.0) to increment with",
          "examples": [ 0.1 ]
        }
      }
    },

    "stop": {
      "desc": "Notify bar one process you were waiting has finished"
    }
  }
}
