Skip to content

Component where font-size calculate for fill container

License

Notifications You must be signed in to change notification settings

yaxinr/ember-auto-font-size

Repository files navigation

ember-auto-font-size

Component where font-size calculate for fill container

<AutoFontSize style="height:100px; width:200px;">
  <span>
    test1
  </span>
</AutoFontSize>

or

<div style="height:100px; width:200px;">
  <TextFill>
    test2
  </TextFill>
</div>

Compatibility

  • Ember.js v3.4 or above
  • Ember CLI v2.13 or above
  • Node.js v8 or above

Installation

ember install ember-auto-font-size

Usage

[Longer description of how to use the addon in apps.]

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.