0.1.1 • Published 5 years ago
ember-mail-to v0.1.1
ember-mail-to
Ember component to create HTML mailto links.
Installation
ember install ember-mail-to
Usage
<MailTo
@to='to@gmail.com'
@cc={{array 'cc1@gmail.com' 'cc2@gmail.com'}}
@bcc='bcc@gmail.com'
@subject='Email Subject'
@body='Email Body'
>
Click here to send an email
</MailTo>
Creates the following element:
<a href="mailto:to@gmail.com?cc=cc1@gmail.com,cc2@gmail.com&bcc=bcc@gmail.com&subject=Email%20Subject&body=Email%20Body">
Click here to send an email
</a>
License
This project is licensed under the MIT License.