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

    image loading

    Help
    2
    5
    841
    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.
    • G
      ghadaYoussef last edited by

      How can we slow image loading in quasar?

      1 Reply Last reply Reply Quote 0
      • dobbel
        dobbel last edited by

        what is slow image loading? And why would you want that.

        1 Reply Last reply Reply Quote 0
        • G
          ghadaYoussef last edited by

          I have a group of image and I want to load them successively i.e image no 1 will load then wait for 1 sec then image no 2 will load and so on

          dobbel 1 Reply Last reply Reply Quote 0
          • dobbel
            dobbel @ghadaYoussef last edited by dobbel

            @ghadaYoussef

            https://quasar.dev/vue-components/img#QImg-API

            • use the @load event of Q-img
            • only set src of first image lets call it : Q-img-1
            1. listen to the loaded event of Q-img-1 to set the src of Q-img-2
            2. Q-img-1 image will load as normal
            3. the loaded event of Q-img-1 will fire
            4. in listener of theloaded event wait 1 sec and set the src of Q-img-2
            5. Q-img2 will load…
              ect
            1 Reply Last reply Reply Quote 0
            • G
              ghadaYoussef last edited by

              Thank you very much it worked🙏🙏

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