/ember-prop-modifier

Primary LanguageJavaScriptMIT LicenseMIT

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.