programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
ZILtoid1991@lemmy.world to 196@lemmy.blahaj.zone · 1 year ago

initDragEvent(rule)

lemmy.world

message-square
27
link
fedilink
196

initDragEvent(rule)

lemmy.world

ZILtoid1991@lemmy.world to 196@lemmy.blahaj.zone · 1 year ago
message-square
27
link
fedilink
alert-triangle
You must log in or register to comment.
  • RagnarokOnline
    link
    fedilink
    arrow-up
    95
    ·
    1 year ago

    “Conservatives hate this one like of code.”

    It initiates a drag queen show.

    • Deestan@lemmy.world
      link
      fedilink
      arrow-up
      22
      ·
      1 year ago

      This.

      • unalivejoy@lemm.ee
        link
        fedilink
        English
        arrow-up
        16
        ·
        1 year ago

        this.tbh()

  • kryptonianCodeMonkey@lemmy.world
    link
    fedilink
    arrow-up
    69
    ·
    1 year ago

    It’s the British version of the Drag Event Handler, init?

    • lars@lemmy.sdf.org
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      StaaaaaaAAAAAAHP lmao

  • germanatlas@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    38
    ·
    1 year ago

    It’s probably something queer coded

    • B1naryB0t@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      34
      ·
      1 year ago

      You’re telling me a queer coded this software?

      • ZILtoid1991@lemmy.worldOP
        link
        fedilink
        arrow-up
        21
        ·
        1 year ago

        This is actually from my code, and this is the function in question being called, and yes, I’m bisexual. I never was into drag, but I respect that community.

        • alx@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          4
          ·
          1 year ago

          Classic Ziltoid, being omniscient and very bisexual

  • AVincentInSpace@pawb.social
    link
    fedilink
    English
    arrow-up
    29
    ·
    1 year ago

    notifies the event handler that the mouse is being dragged

    • blusterydayve26@midwest.social
      link
      fedilink
      English
      arrow-up
      22
      ·
      edit-2
      1 year ago

      Close! It’s actually that bit on Boston Dynamics latest android that starts each morning with a nice slow drag on a cigarette.

  • SavedKriss@lemmy.world
    link
    fedilink
    arrow-up
    26
    ·
    1 year ago

    deleted by creator

    • pooberbee (they/she)@lemmy.ml
      link
      fedilink
      arrow-up
      14
      ·
      1 year ago

      Using jqueery

      jqueery.com, btw

      • TopRamenBinLaden@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Funny, I just checked, and there is a sketchy phishing site at jqueery.com that tries to look like the official page.

        • pooberbee (they/she)@lemmy.ml
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          It’s a joke site. Click anywhere on the page. It used to play music, but I don’t know if it still does.

          • TopRamenBinLaden@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            1 year ago

            Ahh my bad I got whooshed. I don’t get the music, but I’m on mobile Firefox with ublock origin so maybe that’s why. I do get the rainbows and ponies, though. Its beautiful.

            • IndiBrony@lemmy.world
              link
              fedilink
              English
              arrow-up
              3
              ·
              1 year ago

              See now I wasn’t going to visit that site until you said that. Now I’m glad I did 🌈🦄

  • Linkyu@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    21
    ·
    edit-2
    1 year ago

    I’ve never used it, but I imagine this is related to the html drag & drop feature?

    • SzethFriendOfNimi@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Looks like it to me. Probably something that takes an object (element, component depending on library, etc) and starts the “drag and drop” process so the object “moves” with the mouse.

  • 01101000_01101001@mander.xyz
    link
    fedilink
    arrow-up
    19
    ·
    1 year ago

    bloody handler innit

  • Diplomjodler@lemmy.world
    link
    fedilink
    arrow-up
    17
    ·
    1 year ago

    When you run this code, a bunch of drag queens will show up at your door and do a performance.

  • funkless_eck@sh.itjust.works
    link
    fedilink
    arrow-up
    15
    ·
    1 year ago

    handles this drag event.

  • 737@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    13
    ·
    1 year ago

    some c# game engine collision stuff with drag

  • Deestan@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    If you check a DragEvent’s currentTarget it will always point to some appendage of a “dom”.

  • Sorse@discuss.tchncs.de
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    Slow down your rocket when you’re in an atmosphere?

  • Nat (she/they)@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Maybe I’ve looked at too much javascript, because that took me a while…

  • Aoife@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    is it godot code? I feel like it’s godot c# code

    • ZILtoid1991@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      No, it’s D code, from my own game engine.

196@lemmy.blahaj.zone

196@lemmy.blahaj.zone

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Be sure to follow the rule before you head out.


Rule: You must post before you leave.



Other rules

Behavior rules:

  • No bigotry (transphobia, racism, etc…)
  • No genocide denial
  • No support for authoritarian behaviour (incl. Tankies)
  • No namecalling
  • Accounts from lemmygrad.ml, threads.net, or hexbear.net are held to higher standards
  • Other things seen as cleary bad

Posting rules:

  • No AI generated content (DALL-E etc…)
  • No advertisements
  • No gore / violence
  • Mutual aid posts are not allowed

NSFW: NSFW content is permitted but it must be tagged and have content warnings. Anything that doesn’t adhere to this will be removed. Content warnings should be added like: [penis], [explicit description of sex]. Non-sexualized breasts of any gender are not considered inappropriate and therefore do not need to be blurred/tagged.

If you have any questions, feel free to contact us on our matrix channel or email.

Other 196’s:

  • [email protected]
  • [email protected]
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 703 users / day
  • 3.08K users / week
  • 5.97K users / month
  • 18.5K users / 6 months
  • 163 local subscribers
  • 17.5K subscribers
  • 18.9K Posts
  • 221K Comments
  • Modlog
  • mods:
  • Moss@lemmy.blahaj.zone
  • greembow@lemmy.blahaj.zone
  • moss@lemmy.world
  • Queue@beehaw.org
  • funky-rodent [he/him]@lemmy.blahaj.zone
  • Peachy [they/she] @lemmy.blahaj.zone
  • threegnomes@lemmy.blahaj.zone
  • greembow@lemmy.world
  • remotelove@lemmy.ca
  • Roflmasterbigpimp@feddit.de
  • A_Very_Big_Fan@lemm.ee
  • qaz@lemmy.blahaj.zone
  • A_Very_Big_Fan@lemmy.world
  • qaz@lemmy.sdf.org
  • qaz@lemmy.world
  • qaz@sh.itjust.works
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org