Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Motion Bank
MB.js
Quasar Components MoSys
Commits
5e53bb5b
Commit
5e53bb5b
authored
Oct 14, 2019
by
christianrhansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mobile: remembering the last slide
parent
cb42d65a
Pipeline
#16812
passed with stage
in 1 minute and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
partials/GridEditor.vue
partials/GridEditor.vue
+10
-4
No files found.
partials/GridEditor.vue
View file @
5e53bb5b
...
...
@@ -165,8 +165,9 @@
style="border-radius: .5rem;",
position="bottom-right")
div(v-if="carousel.visibility")
q-carousel.q-py-sm(v-model="slide", infinite, @input="getCarouselIcon(index)")
// div(v-if="carousel.visibility")
div(:class="{'hidden': !carousel.visibility}")
q-carousel.q-py-sm(ref="carousel", v-model="slide", infinite, @input="getCarouselIcon(index)")
//
q-carousel-slide.q-pa-sm
...
...
@@ -413,7 +414,6 @@
watch
:
{
slide
(
val
)
{
let
icon
this
.
carousel
.
slide
=
val
switch
(
val
)
{
case
0
:
icon
=
'
open_with
'
...
...
@@ -428,7 +428,9 @@
icon
=
'
open_with
'
break
}
this
.
carousel
.
icon
=
icon
// this.carousel.slide = val
// this.carousel.icon = icon
this
.
carousel
=
{
slide
:
val
,
icon
:
icon
,
visibility
:
this
.
carousel
.
visibility
}
},
annotations
()
{
this
.
updateAnnotationUIStates
()
...
...
@@ -462,6 +464,10 @@
console
.
log
(
val
)
},
carouselVisibility
()
{
console
.
log
(
this
.
carousel
.
slide
)
if
(
this
.
$refs
.
carousel
)
{
this
.
$refs
.
carousel
.
goToSlide
(
this
.
carousel
.
slide
)
}
this
.
carousel
.
visibility
=
!
this
.
carousel
.
visibility
},
handleModal
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment