Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow download element to have file name. #4

Closed
mihkell opened this issue Aug 31, 2018 · 2 comments
Closed

Allow download element to have file name. #4

mihkell opened this issue Aug 31, 2018 · 2 comments

Comments

@mihkell
Copy link

mihkell commented Aug 31, 2018

Elm 0.19 has special way of handeling links. This makes it so that if you want a [ href "download", download "" ] [ Html.text "Will download" ] to work, it should have file name set for its download attribute.

It's would be nice if Elm-ui would also support setting name for it's Element.download element.

Related to ELM issue - elm/html#175

@mdgriffith
Copy link
Owner

Isn't that covered by Element.downloadAs?

@mihkell
Copy link
Author

mihkell commented Aug 31, 2018

Right, I didn't test it out and thought it will open up the window where I can decide where to save it and with what name. Like "Save As" in most program works.

@mihkell mihkell closed this as completed Aug 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants