(animation: any)
| 1171 | } |
| 1172 | |
| 1173 | public createAnimation(animation: any): Animation { |
| 1174 | if (!this._localAnimations) { |
| 1175 | this._localAnimations = new Set(); |
| 1176 | } |
| 1177 | animation.target = this; |
| 1178 | const anim = new Animation([animation]); |
| 1179 | this._localAnimations.add(anim); |
| 1180 | |
| 1181 | return anim; |
| 1182 | } |
| 1183 | |
| 1184 | public _removeAnimation(animation: Animation): boolean { |
| 1185 | const localAnimations = this._localAnimations; |