()
| 39 | } |
| 40 | |
| 41 | initViews() { |
| 42 | this.names.forEach((name, index) => { |
| 43 | const item = new MenuItem({ name, index }); |
| 44 | item.events.on('click', this.onClick); |
| 45 | this.add(item); |
| 46 | this.items.push(item); |
| 47 | }); |
| 48 | } |
| 49 | |
| 50 | removeListeners() { |
| 51 | this.items.forEach(item => { |
no test coverage detected