Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { htmlToElement } from './utils';
- export default class App {
- constructor() {
- this.input = document.getElementById('input');
- this.listRoot = document.getElementById('list-root');
- // Clone node and its decendants into class property.
- this.emptyState = document.getElementById('empty-state').cloneNode(true);
- this.initInput();
- }
- //...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement