-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
additionA proposed addition which could be added later without impacting the rest of the APIA proposed addition which could be added later without impacting the rest of the API
Description
In offline discussion, @annevk mentioned that, in the spirit of navigation.navigate() being "a better location.assign()", maybe it should also get the ability to initiate a download or form submission. E.g.
navigation.navigate(url, { download: true });
navigation.navigate(url, { formData });It seems likely that these capabilities can already be done today, by constructing the appropriate <a> and click()ing it, or the appropriate <form> and submit()ing it. So adding them here would not be costly. However, we'd want to double-check; e.g. I think there might be a user activation requirement for downloads?
Metadata
Metadata
Assignees
Labels
additionA proposed addition which could be added later without impacting the rest of the APIA proposed addition which could be added later without impacting the rest of the API