ionic-team / pwa-elements

Quality UI experiences for Web APIs that require custom UI (such as media/camera).
https://medium.com/@maxlynch/building-the-progressive-web-app-os-57daebcb69c1
MIT License
168 stars 50 forks source link

feat(camera): allow for additional accept types for image selection #127

Open sean-perkins opened 1 year ago

sean-perkins commented 1 year ago

Resolves #80

Adds an additional property to the pwa-camera to allow developers to specify additional acceptable file types when a camera device is not available. This feature is intended to be used to restrict the file types to more specific patterns than the default image/* matches to. For example, restricting to only png or jpeg image file types.

Flusinerd commented 8 months ago

Hi, I just stumbled across this, since I was looking for this functionality. Ty first of all for the implementation.

When will this be merged?