this post was submitted on 24 Oct 2023
3 points (100.0% liked)

JavaScript community

878 readers
3 users here now

A community about JavaScript, the ECMAScript standard, and programs that make use of JS such as Node.js.

founded 5 years ago
MODERATORS
 

ChatGPT used to have this, and there was a popular forum that had it (though I can't remember what it was/is), where, when you'd click a "delete" link, the confirmation was RIGHT THERE: "delete" faded out, "OK / Cancel" faded in. In the same space. It was really elegant and unobtrusive.

Does anyone know if there's a library out there for it? I searched over github and google, but didn't find anything, probably because I couldn't get the search terms specific enough.

you are viewing a single comment's thread
view the rest of the comments
[–] ante@lemmy.world 2 points 1 year ago (1 children)

I don't have a recommendation but this really seems like a trivial thing to code.

[–] BillTheTailor@lemmy.ml 1 points 1 year ago (1 children)

Too many other plates are spinning to make it feasible at this point. Hoping to just plug 'n' play.

[–] relevants@feddit.de 3 points 1 year ago

I can't imagine searching for and finding a plug&play library, then integrating it into your page, would be easier than rolling your own.