Live data from Hacker News

Simple, Plain, Customizable JS Dialogs.

github.com

1–5 of 5 posts

Simple, Plain, Customizable JS Dialogs.

#1
Frustrated by the lack of a simple, customizable JS dialog, I decided to create a mini library that captures the simplicity of the 3 classic JS dialogs: alert, confirm, prompt, but allows for needed custom features like styling, button labels, and html5 placeholders for inputs. Seeking feedback on any potential issues, code architecture and style, and general usefulness. Before you chime in about jQuery UI or some other framework/library that has this included, think first about projects that don't require such a heavily scripted or styled component and would benefit from a straightforward, easy to customize solution.

Simple, Plain, Customizable JS Dialogs.
github.com

Re: Simple, Plain, Customizable JS Dialogs.

#3
I was frustrated by the lack of a simple, customizable JS dialog. I decided to create a mini library that captures the simplicity of the 3 classic JS dialogs: alert, confirm, prompt, but allows for needed custom features like styling, button labels, and html5 placeholders for inputs. Seeking feedback on any potential issues, code architecture and style, and general usefulness. Before you chime in about jQuery UI or some other framework/library that has this included, think first about projects that don't require such a heavily scripted or styled component and would benefit from a straightforward, easy to customize solution.

Re: Simple, Plain, Customizable JS Dialogs.

#5

What does Dia stand for?

dialog

or...

dia- a prefix occurring in loanwords from Greek ( diabetes; dialect ) and used, in the formation of compound words, to mean “passing through” ( diathermy ), “thoroughly,” “completely” ( diagnosis ), “going apart” ( dialysis ), and “opposed in moment” ( diamagnetism ). Also, especially before a vowel, di-.

Origin: < Greek, combining form representing diá (preposition) through, between, across, by, of, akin to dýo two and di- di-1