Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. import { htmlToElement } from './utils';
  2.  
  3. export default class App {
  4. constructor() {
  5. this.input = document.getElementById('input');
  6. this.listRoot = document.getElementById('list-root');
  7.  
  8. // Clone node and its decendants into class property.
  9. this.emptyState = document.getElementById('empty-state').cloneNode(true);
  10.  
  11. this.initInput();
  12. }
  13.  
  14. //...
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement