PolymerElements / app-media

Elements for accessing data from media input devices and visualizing that data for users
61 stars 12 forks source link

Add properties for min, max and step values for various camera settings to <app-media-image-capture> #29

Open FluorescentHallucinogen opened 7 years ago

FluorescentHallucinogen commented 7 years ago

What about adding properties for minimum, maximum and step values for each camera settings to <app-media-image-capture> element?

It makes data binding easy:

<app-media-image-capture
  stream="[[stream]]"
  zoom-min="{{zoomMin}}"
  zoom-max="{{zoomMax}}"
  zoom-step="{{zoomStep}}"
  zoom="{{zoom}}"
  last-photo="{{photo}}">
</app-media-image-capture>

<paper-slider
  min="[[zoomMin]]"
  max="[[zoomMax]]"
  step="[[zoomStep]]"
  value="{{zoom}}">
</paper-slider>
FluorescentHallucinogen commented 7 years ago

@cdata WDYT?