ember-wufoo-form
v0.3.2
Published
A thin wrapper around Wufoo forms for easier integration with Ember.js apps.
Downloads
13
Readme
ember-wufoo-form
A thin wrapper around Wufoo Forms, to make integration in Ember Apps easier.
Installation
Install this addon with Ember CLI:
ember install ember-wufoo-form
Usage
The wufoo-form
component accepts a set of required and optional attributes:
{{wufoo-form
// required
formId="<wufoo form id>"
userName="<wufoo username>"
// optional
target="<DOM selector where to render the form to"
// optional parameters, proxied from wufoo embed library
autoResize: <default true>,
height: <default '500'>,
header: <default 'show'>,
ssl: <default true>,
}}
The component will inject a script tag to load Wufoo's JavaScript embed library, which will add an iframe to display the form.
The required formId
can be found on the "Share a link to your form" page in the Wufoo form admin.
Collaboration
Installation
git clone <repository-url>
this repositorycd ember-wufoo-form
npm install
Running
ember serve
- Visit your app at http://localhost:4200.
Running Tests
npm test
(Runsember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
Building
ember build
For more information on using ember-cli, visit https://ember-cli.com/.