A thin wrapper around Wufoo Forms, to make integration in Ember Apps easier.
Install this addon with Ember CLI:
ember install ember-wufoo-form
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.
git clone <repository-url>
this repositorycd ember-wufoo-form
npm install
ember serve
- Visit your app at http://localhost:4200.
npm test
(Runsember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit https://ember-cli.com/.