(id: string)
| 371 | } |
| 372 | } |
| 373 | private getObject(id: string): StringScrollObject | undefined{ |
| 374 | let findedObject = undefined |
| 375 | this.animations.forEach(animation => { |
| 376 | let object = animation.get(id) |
| 377 | if(object != undefined){ |
| 378 | findedObject = object |
| 379 | } |
| 380 | }) |
| 381 | |
| 382 | return findedObject |
| 383 | } |
| 384 | private onWheel(e: WheelEvent) { |
| 385 | if (this._enabled == false) { |
| 386 | e.preventDefault() |
no test coverage detected