Have ideas to improve npm?Join in the discussion! »

ember-prop-modifier

1.0.0 • Public • Published

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 v2.12 or above
  • Ember CLI v3.0 or above

Installation

ember install ember-prop-modifier

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

Keywords

Install

npm i ember-prop-modifier

DownloadsWeekly Downloads

1,073

Version

1.0.0

License

MIT

Unpacked Size

6.92 kB

Total Files

9

Last publish

Collaborators

  • avatar