No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How to remove previous image when using transition for changing image?

    Framework
    2
    3
    99
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      Zaynab last edited by Zaynab

      I use transition for q-img to show several images in a q-img. When I click on trigger button, previous image stay on background and loading displayed on it until next image be loaded. I want to remove previous image and show only loading before next image. How can I do this?

      https://quasar.dev/vue-components/img#Transitions

      I 1 Reply Last reply Reply Quote 0
      • I
        Ilia @Zaynab last edited by

        @Zaynab Something like this?

        https://codepen.io/cobanja/pen/rNMGRvN?editors=101

        Z 1 Reply Last reply Reply Quote 1
        • Z
          Zaynab @Ilia last edited by

          @Ilia Yessss. Thank you Ilia.

          1 Reply Last reply Reply Quote 1
          • First post
            Last post