Skip to content

Commit

Permalink
fix: update README to clarify purpose of mixin
Browse files Browse the repository at this point in the history
Fixes #82
  • Loading branch information
mike-north committed Aug 23, 2018
1 parent e31cbf7 commit b84682e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ let MyView = Ember.View.extend({

### Mixin: `ResizeAware`

A little sugar on top of the service, making it as easy as possible to respond to resize events in an ember-idiomatic way. Just as you can implement mouse events on your views via methods like `click`, you can now implement `didResize` and `debouncedDidResize` methods as well.
A little sugar on top of the service, making it as easy as possible to respond to resize events in an ember-idiomatic way. Just as you can implement mouse events on your views via methods like `click`, you can now implement `didResize` and `debouncedDidResize` methods as well. When you use this mixin on a component, **resize events will only fire if that component's size is affected**.

```js
import ResizeAware from 'ember-resize/mixins/resize-aware';
Expand Down

0 comments on commit b84682e

Please sign in to comment.