Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 653 Bytes

README.md

File metadata and controls

40 lines (24 loc) · 653 Bytes

ember-prop-modifier

This addon provides a {{prop}} modifier which can be used to set properties directly on the element it is applied to:

import Component from '@glimmer/component';

export default class MyVideo extends Component {
  mediaSource = new MediaSource();
}
<video {{prop srcObject=this.mediaSource}}/>

Compatibility

  • Ember.js v3.28 or above
  • Ember CLI v3.28 or above
  • Node.js v14 or above

Installation

ember install ember-prop-modifier

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.