vuetify.js

Vuetify progress bar does not synchronize the value

对着背影说爱祢 提交于 2021-02-11 04:30:50
问题 I have an example that replicates what I'm actually doing. When a new item pushed on the array, the counter is increased and set the value to the progress. For the example, I prepared a JSFiddle: here new Vue({ el: '#app', data () { return { valueDeterminate: 0, total: 1000, timeOut: 0, iteraciones: 1000 } }, methods: { async Click() { var arr = []; var sum = 0; this.valueDeterminate = 0; await this.forEach(this.iteraciones, async (i) => { await this.Sleep(1); arr.push(1); sum++; this

Vuetify progress bar does not synchronize the value

一个人想着一个人 提交于 2021-02-11 04:26:35
问题 I have an example that replicates what I'm actually doing. When a new item pushed on the array, the counter is increased and set the value to the progress. For the example, I prepared a JSFiddle: here new Vue({ el: '#app', data () { return { valueDeterminate: 0, total: 1000, timeOut: 0, iteraciones: 1000 } }, methods: { async Click() { var arr = []; var sum = 0; this.valueDeterminate = 0; await this.forEach(this.iteraciones, async (i) => { await this.Sleep(1); arr.push(1); sum++; this

How to improve performance while using dynamic components in vue?

时光怂恿深爱的人放手 提交于 2021-02-10 16:14:41
问题 Context: Currently, I am working on a complex editor application which uses vuex state, vuetify's expansion panel and vue's dynamic component. Each dynamic component uses data which is accepted as props and has its own nested components. Problem: The issue with this approach is as the app deals with the large, nested state, the add operation in the UI slows down and makes the UI unusable. Note: In the example, I have added 1000 objects just to replicate the issue. Unfortunately cannot use

How can I import only one icon from fontawesome?

雨燕双飞 提交于 2021-02-10 11:01:12
问题 I'm searching keyboard-arrow-down icon for my Expansion Panel from vuetify I have installed "devDependencies": { "@fortawesome/fontawesome-free": "^5.5.0", } fontawesome-free, but I think it installed all icons and fonts So Is there are way to import only one icon (keyboard-arrow-down)? I've searched my node-modules, but I couldn't find it. Here's my code. import Vuetify from 'vuetify' import '@fortawesome/fontawesome-free/css/all.css' Vue.use(Vuetify, { iconfont: 'fa' }) 回答1: Install the

Keep v-tooltip open when hovering over the tooltip

僤鯓⒐⒋嵵緔 提交于 2021-02-10 06:59:24
问题 First, the terms, "link" is the area where the mouse enters. The "tooltip" is the thing that pops up and shows extra information. --- above added 2020-04-29 I'm using Vuetify and trying to keep the v-tooltip open when mouse is hovering over the "tooltip". The content inside the tooltip is going to be rich and don't want that to automatically hide when visitor is looking into it. <template> <v-tooltip v-model="show" max-width="600px" content-class="link-tooltip-content" bottom> <template v

Keep v-tooltip open when hovering over the tooltip

戏子无情 提交于 2021-02-10 06:59:04
问题 First, the terms, "link" is the area where the mouse enters. The "tooltip" is the thing that pops up and shows extra information. --- above added 2020-04-29 I'm using Vuetify and trying to keep the v-tooltip open when mouse is hovering over the "tooltip". The content inside the tooltip is going to be rich and don't want that to automatically hide when visitor is looking into it. <template> <v-tooltip v-model="show" max-width="600px" content-class="link-tooltip-content" bottom> <template v

VueJs Custom currency mask

吃可爱长大的小学妹 提交于 2021-02-10 05:49:08
问题 My Currency mask has got some issues. When I am typing say 10000 in the field, it formats it as expected 10,000 but the moment i shift focus to another field or press tab. The mask shifts the comma position to the left by 1. i.e. 10,000 becomes 1,0000 You can check codepan for the issue, can anyone help me with this? https://codepen.io/veer3383/pen/BxqzLb?editors=1010# The template: <v-text-field @keyup="formatCurrency(initialBalance, $event)" :prefix="currency" v-model="initialBalance" label

Could not find a declaration file for module 'vuetify/lib/framework'

我与影子孤独终老i 提交于 2021-02-08 06:43:53
问题 When I execute command npm run serve there is above error: 2:21 Could not find a declaration file for module 'vuetify/lib/framework'. 'C:/Users/valut/source/repos/BricksDryierClient/client-app/node_modules/vuetify/lib/framework.js' implicitly has an 'any' type. Try `npm install @types/vuetify` if it exists or add a new declaration (.d.ts) file containing `declare module 'vuetify/lib/framework';` 1 | import Vue from 'vue'; > 2 | import Vuetify from 'vuetify/lib/framework'; | ^ 3 | 4 | Vue.use

v-card-media with base64 image

谁都会走 提交于 2021-02-07 18:22:59
问题 I am creating a captcha image in ColdFusion and returning it as a REST feed with Taffy. It is then shown in Vuetify ColdFusion / Taffy code <cfscript> component extends="taffy.core.resource" taffy_uri="/captcha" { function get() hint="Sends one out" { var captcha = CreateUUID().right(4) & DayOfWeekAsString(DayOfWeek(now())).left(1).lcase() & "!"; // This is ColdFusion var tempFile = "ram:///#captcha#.txt"; var myImage = ImageCreateCaptcha(100, 300, captcha, "low"); ImageWriteBase64(myImage,

How to do breakpoints in scss file with vuetify?

青春壹個敷衍的年華 提交于 2021-02-07 12:52:33
问题 How to use media query breakpoints in my vuetify application but in scss file? For example bootstrap enable me to do that in scss file: @include media-breakpoint-up(sm) { .custom-class { display: block; } } what is the equivalent in vuetify? I can't find any documention in vuetify website 回答1: You can do it in scss: @import '~vuetify/src/styles/settings/_variables'; @media #{map-get($display-breakpoints, 'sm-and-down')} { .custom-class { display: block; } } ... and you're right there is very