UNPKG

quasar

Version:

Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time

91 lines 2.09 kB
{ "type": "component", "meta": { "docsUrl": "https://v1.quasar.dev/vue-components/ajax-bar" }, "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": { "type": "String", "desc": "Size in CSS units, including unit name", "examples": [ "16px", "2rem" ], "category": "style", "default": "2px" }, "color": { "type": "String", "desc": "Color name for component from the Quasar Color Palette", "examples": [ "primary", "teal-10" ], "category": "style" }, "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", "default": 300, "desc": "Delay (in milliseconds) between progress auto-increments; If delay is 0 then it disables auto-incrementing", "examples": [ 400, 0 ] } } }, "increment": { "desc": "Manually trigger a bar progress increment", "params": { "amount": { "type": "Number", "desc": "Amount (0 < x <= 100) to increment with", "examples": [ 1 ] } } }, "stop": { "desc": "Notify bar that one process you were waiting has finished" } } }