UNPKG

quasar

Version:

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

71 lines (60 loc) 1.53 kB
{ "meta": { "docsUrl": "https://v2.quasar.dev/vue-components/pull-to-refresh" }, "props": { "color": { "desc": "Color name for the icon from the Quasar Color Palette", "extends": "color" }, "bg-color": { "desc": "Color name for background of the icon container from the Quasar Color Palette", "extends": "color" }, "icon": { "extends": "icon", "desc": "Icon to display when refreshing the content" }, "no-mouse": { "type": "Boolean", "desc": "Don't listen for mouse events", "category": "behavior" }, "disable": { "extends": "disable" }, "scroll-target": { "extends": "scroll-target" } }, "slots": { "default": { "desc": "Content (area controlled by the component) goes here" } }, "events": { "refresh": { "desc": "Called whenever a refresh is triggered; at this time, your function should load more data", "params": { "done": { "type": "Function", "desc": "Call the done() function when your data has been refreshed", "params": null, "returns": null } } } }, "methods": { "trigger": { "desc": "Triggers a refresh", "params": null, "returns": null }, "updateScrollTarget": { "desc": "Updates the scroll target; Useful when the parent elements change so that the scrolling target also changes", "params": null, "returns": null } } }