Sdk: The Window object in dart:html has no prompt() method.

Created on 19 Nov 2013  路  5Comments  路  Source: dart-lang/sdk

All 5 comments

_Added Area-HTML, Triaged labels._

This was removed with bug 1366 because the synchronous behavior of prompt was considered harmful and to discourage bad UX practices.


_Added AsDesigned label._

_This comment was originally written by greg.lo...@gmail.com_


Does the same argument apply to window.confirm()?

To be consistent this should also be removed.

http://api.dartlang.org/docs/channels/stable/latest/dart_html/Window.html#confirm

_This comment was originally written by dvo...@gmail.com_


That is a really good point greg.lowe. +1

_This comment was originally written by aleskv...@mailinator.com_


Finally I made a package with it. See https://pub.dartlang.org/packages/dialog for more details. P.S.: it is under development (not working yet)

Was this page helpful?
0 / 5 - 0 ratings