0.0.1 • Published 7 years ago
ember-cli-dropcap v0.0.1
ember-cli-dropcap
A simple Ember wrapper for Adobe dropcap.js.
Installation
ember install ember-cli-dropcap
Usage
Rendering a drop cap
{{#drop-cap heightInLines=3}}L{{/drop-cap}}orem ipsum dolor sit amet
Attributes
The component supports two attributes:
heightInLines
baselinePos
These attributes are the same as the parameters for Dropcap.layout()
Limitations
There is currently no clean way to set properties on Dropcap.options
without referencing the global Dropcap
object.
0.0.1
7 years ago