Skip to content

Instantly share code, notes, and snippets.

@YonatanKra
Last active December 28, 2017 10:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YonatanKra/8a575e96d65e0b07b86c958fdba29567 to your computer and use it in GitHub Desktop.
Save YonatanKra/8a575e96d65e0b07b86c958fdba29567 to your computer and use it in GitHub Desktop.
The app.js using the form's API
import template from './index.html';
import {} from './app.css';
import YOPFForm from './form/form.index';
import YOPFFireworks from './fireworks/fireworks.index';
(function() {
document.body.innerHTML = template;
const form = new YOPFForm(document.getElementById('phrase-form-wrapper'));
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment