Skip to content

Implement ember modifier for get height and width of element

License

Notifications You must be signed in to change notification settings

candunaj/ember-check-size

Repository files navigation

ember-check-size

[Short description of the addon.]

Compatibility

  • Ember.js v2.18 or above
  • Ember CLI v2.13 or above

Installation

ember install ember-check-size

Usage

<div {{check-size enabled=enabled onHeightChanged=(action (mut height)) onWidthChanged=(action (mut width)) }} style='background-color:brown; height:200px; margin:10px; padding:5px; {{if enabled "" (concat "width:" width "px;")}}'> </div>

Contributing

See the Contributing guide for details.

  • git clone <repository-url>
  • cd ember-check-size
  • npm install

License

This project is licensed under the MIT License.

About

Implement ember modifier for get height and width of element

Resources

License

Stars

Watchers

Forks

Packages

No packages published