quasar-framework

Cordova: getUserMedia() no longer works on insecure origins

浪尽此生 提交于 2021-02-19 08:07:12
问题 THE SITUATION In my Cordova hybrid app (built with Quasar framework), I need to a add a video-call feature. I need to use the function getUserMedia() . Everything works fine while testing on localhost, but when testing on the device it doesn't work. THE ERROR: [Deprecation] getUserMedia() no longer works on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. Most probably this error is caused by the fact that Cordova doesn't

Is there any way to load or render components into Qdialog?

自作多情 提交于 2021-02-11 15:00:09
问题 Is there any way to load or render components into Qdialog? Please I need to know if it is possible and if any example/sample of such methods is available EDITED A scenario. <q-toolbar> <q-select v-model="event" :option="eventtype" @input="onEventChange()" label="Select Event" /> </q-toolbar> <q-dialog> </q-dialog> And in the script, <script> import eventList from 'statics/data/event.json' export default { data () { return { event: null, dialog: false, app: { title: ' ' url: ' ' } }, computed

Prevent click propagation outside of Quasar q-select

无人久伴 提交于 2021-02-07 13:35:21
问题 I'm using Quasar UI elements in a Vue.js project. For some pop-up elements, specifically q-select in this case, clicking outside of the q-select causes it to close. That's fine -- that's the behaviour I want, but the click event also propagates to the HTML element outside the q-select, which can lead to unexpected/unwanted behaviour. I would prefer that clicking outside of the q-select popup only closes the popup, and does not propagate to any other DOM elements. Is this behaviour supported

Prevent click propagation outside of Quasar q-select

有些话、适合烂在心里 提交于 2021-02-07 13:34:18
问题 I'm using Quasar UI elements in a Vue.js project. For some pop-up elements, specifically q-select in this case, clicking outside of the q-select causes it to close. That's fine -- that's the behaviour I want, but the click event also propagates to the HTML element outside the q-select, which can lead to unexpected/unwanted behaviour. I would prefer that clicking outside of the q-select popup only closes the popup, and does not propagate to any other DOM elements. Is this behaviour supported

Stylus syntax - where do imports come from?

旧城冷巷雨未停 提交于 2021-01-28 07:10:17
问题 I've got a file called "quasar.styl": @import './quasar.variables' @import '~quasar-styl' When it gets processed by webpack, using styl-loader, I get this error: failed to locate @import file ~quasar-styl.styl I have this feeling there's something about stylus I don't understand. Where would it be looking for the file "~quasar-style"? This file comes from a working boilerplate quasar app, and there isn't a file called quasar-style anywhere in the app directories, especially not is node

Where to place code to set Firebase auth state persistence in Vue.js?

杀马特。学长 韩版系。学妹 提交于 2020-11-28 10:11:56
问题 Overview I'm building a web app in Quasar/Vue.js and Firebase which needs to authenticate users. What I'm trying to achieve A pretty common feature - keep users logged even after they close the browser/tab. Possible Solutions I'm aware that I can use localStorage or cookies to set the user auth state. However, I want to allow Firebase auth do it for me (if it can do it). I checked the docs in this regard - https://firebase.google.com/docs/auth/web/auth-state-persistence and they're nice,

Where to place code to set Firebase auth state persistence in Vue.js?

大兔子大兔子 提交于 2020-11-28 10:07:14
问题 Overview I'm building a web app in Quasar/Vue.js and Firebase which needs to authenticate users. What I'm trying to achieve A pretty common feature - keep users logged even after they close the browser/tab. Possible Solutions I'm aware that I can use localStorage or cookies to set the user auth state. However, I want to allow Firebase auth do it for me (if it can do it). I checked the docs in this regard - https://firebase.google.com/docs/auth/web/auth-state-persistence and they're nice,

Where to place code to set Firebase auth state persistence in Vue.js?

烂漫一生 提交于 2020-11-28 10:03:03
问题 Overview I'm building a web app in Quasar/Vue.js and Firebase which needs to authenticate users. What I'm trying to achieve A pretty common feature - keep users logged even after they close the browser/tab. Possible Solutions I'm aware that I can use localStorage or cookies to set the user auth state. However, I want to allow Firebase auth do it for me (if it can do it). I checked the docs in this regard - https://firebase.google.com/docs/auth/web/auth-state-persistence and they're nice,