dvorapa / dialog-dart

Modern alert, confirm and prompt dialog implementation
https://pub.dev/packages/dialog
BSD 2-Clause "Simplified" License
9 stars 2 forks source link

Make 4th fully customizable dialog #13

Closed dvorapa closed 5 years ago

dvorapa commented 9 years ago
dynamic/void dialog({content,header,buttons,whatToReturn,backdrop,styles,...})
lrlunin commented 8 years ago

Thanks a lot for your library, but can you demonstrate, how can I transform sample html file to List<? extends Node> (example). I know, that I can manually do like this: [new Dialog([new HtmlElement(),new FileUploadInputElement()] But I don't want to do so.

dvorapa commented 8 years ago

@Google-cat Try to search Dart docs ;-) I'm sure there is some built-in method to make html file into list of nodes, just don't have time to find it. Btw I think the list of nodes is the default for appending in dart:html.

dvorapa commented 5 years ago

Thanks a lot for your library, but can you demonstrate, how can I transform sample html file to List<? extends Node> (example). I know, that I can manually do like this: [new Dialog([new HtmlElement(),new FileUploadInputElement()] But I don't want to do so.

See e.g. https://stackoverflow.com/questions/19467115/in-dart-parse-html-string-to-dom