quasar
Version:
Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
15 lines • 384 B
JSON
{
"type": "plugin",
"meta": {
"docsUrl": "https://v2.quasar.dev/quasar-plugins/app-visibility"
},
"injection": "$q.appVisible",
"props": {
"appVisible": {
"tsInjectionPoint": true,
"type": "Boolean",
"desc": "Does the app have user focus? Or the app runs in the background / another tab has the user's attention",
"reactive": true
}
}
}