ember-hubspot-form

Hubspot Forms for Ember apps

Usage no npm install needed!

<script type="module">
  import emberHubspotForm from 'https://cdn.skypack.dev/ember-hubspot-form';
</script>

README

ember-hubspot-form

Build Status Ember Observer Score

A thin wrapper around Hubspot Forms to make integration in Ember Apps easier.

Installation

Install this addon with Ember CLI:

ember install ember-hubspot-form

Usage and Configuration

Add the component to one of your templates:

{{hubspot-form
  portalId='MY_PORTAL_ID'
  formId='MY_FORM_ID'
}}

Please see the Hubspot Form documentation for all details. Currently the addon supports following configuration options:

  • portalId (required)
  • formId (required)
  • target: DOM selector string to insert the form into

Collaboration

Installation

  • git clone this repository
  • npm install
  • bower install

Running

  • ember server
  • Visit your app at http://localhost:4200.

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.