196
initDragEvent(rule) (lemmy.world)
submitted 1 year ago by [email protected] to c/[email protected]
all 28 comments
sorted by: hot top new old
[-] [email protected] 95 points 1 year ago

“Conservatives hate this one like of code.”

It initiates a drag queen show.

[-] [email protected] 69 points 1 year ago

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

[-] [email protected] 5 points 1 year ago

StaaaaaaAAAAAAHP lmao

[-] [email protected] 38 points 1 year ago

It’s probably something queer coded

[-] [email protected] 34 points 1 year ago

You're telling me a queer coded this software?

[-] [email protected] 21 points 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.

[-] [email protected] 4 points 1 year ago

Classic Ziltoid, being omniscient and very bisexual

[-] [email protected] 29 points 1 year ago

notifies the event handler that the mouse is being dragged

[-] [email protected] 22 points 1 year ago* (last edited 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.

[-] [email protected] 21 points 1 year ago* (last edited 1 year ago)

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

[-] [email protected] 2 points 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.

[-] [email protected] 19 points 1 year ago

bloody handler innit

[-] [email protected] 17 points 1 year ago

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

[-] [email protected] 15 points 1 year ago

handles this drag event.

[-] [email protected] 8 points 1 year ago

If you check a DragEvent's currentTarget it will always point to some appendage of a "dom".

[-] [email protected] 7 points 1 year ago

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

[-] [email protected] 3 points 1 year ago

Maybe I've looked at too much javascript, because that took me a while...

[-] [email protected] 1 points 1 year ago

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

[-] [email protected] 1 points 1 year ago

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

this post was submitted on 26 May 2024
196 points (100.0% liked)

196

18004 readers
216 users here now

Be sure to follow the rule before you head out.


Rule: You must post before you leave.



Other rules

Behavior rules:

Posting rules:

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:

founded 2 years ago
MODERATORS