4 ms·
Nice, though when I test the examples (edit items [1]), I would expect better than confirm/alert usage. 1. http://visjs.org/examples/timeline/08_edit_items.htm
by tzury 13y ago
Nice, though when I test the examples (edit items [1]), I would expect better than confirm/alert usage.
1. http://visjs.org/examples/timeline/08_edit_items.html http://visjs.org/examples/timeline/08_edit_items.html
- jamiesonbecker 13y agoWhat's wrong with confirm/alert? It's built into javascript, mobile friendly, and a lot less buggy than most libraries.
- TuringTest 13y agoIt's modal, so it blocks the entire browser until the dialog is dismissed. That's terrible interaction design, except for actions that would melt your computer. I understand that the library focus is on visualization and not on realistic and usable examples; I put the blame on browser implementors - they should have fixed that problem years ago, instead of relying on developers to do the right thing. Edit - Update: I've tried it on Firefox and it does the right thing, blocking only the current tab; blocking the whole application must be a Chrome-only thing.
- abuzzooz 13y agoIt's just an example to illustrate the callback functionality. The focus is on the visualization part, not the popup.