unclean SPARC
This commit is contained in:
Executable
+15
@@ -0,0 +1,15 @@
|
||||
class TestView extends EICDomContent {
|
||||
|
||||
constructor() { super(); }
|
||||
|
||||
DOMContentLoaded() {
|
||||
ui.eicfy(this.el)
|
||||
|
||||
let form = new Form(this.find('.form'));
|
||||
let output = this.find('.output')
|
||||
this.find('.generate').addEventListener('click', event => { output.value = JSON.stringify(form.value) });
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
app.registerClass('TestView',TestView);
|
||||
Reference in New Issue
Block a user