eer

ember-element-resize

Ember mixin to detect if Component changes it size

Showing:

Popularity

Downloads/wk

13

GitHub Stars

2

Maintenance

Last Commit

1yr ago

Contributors

5

Package

Dependencies

5

Size (min+gzip)

44.5KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Ember-element-resize

Installation

In your application's directory

  • ember install ember-element-resize

Usage

import ResizeElementMixin from 'ember-element-resize/mixins/resize';
export default Component.extend(ResizeElementMixin, {
  didInsertElement() {
    this._super(...arguments); // Don't forget to call super
  },
  willDestroyElement() {
    this._super(...arguments); // Don't forget to call super
  },

  elementResizeHandler() {
    // Do some stuff
  },
})

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100