• funkless_eck@sh.itjust.works
      link
      fedilink
      arrow-up
      19
      ·
      11 hours ago

      “make the page transparent and show a spinning icon, wait 750ms, then make the page display normally”

      it’s a fake loading screen

        • bleistift2@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          4
          ·
          7 hours ago

          To your first question: The arguments to setTimeout and setInterval (and I believe everything else in JavaScript) are in milliseconds.

          Second question: Everybody, unless you’re a 90-year old, demented grandma.

          • AnUnusualRelic@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            4 hours ago

            With most web pages pulling megabytes of crud to display anything, I’m not sure a 0.75 second delay would change anything much.

        • xthexder@l.sw0.com
          link
          fedilink
          arrow-up
          2
          ·
          7 hours ago

          3/4 of a second is quite noticeable. Most UI animations are only 100-200ms, and if you disable them, things feel faster but less “polished”. Try it out yourself on your phone UI if you’ve got an Android.