Last active
December 28, 2017 09:59
-
-
Save YonatanKra/861072e41acebf0bd3d08ee0a6a3779d to your computer and use it in GitHub Desktop.
simple form index
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// get the template | |
import template from './form.index.html'; | |
// get the styles | |
import {} from './form.index.css'; | |
class YOPFForm{ | |
constructor(element) { | |
this._element = element; | |
this.setTemplate(); | |
} | |
setTemplate() { | |
this._element.innerHTML = template; | |
} | |
} | |
export default YOPFForm; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment