* Halts the animation. Depending on the opt_dir value, the following actions * can be performed: * 0: No action. The state will be as at the moment of halting (default) * 1: Final state. Transitionable will be set to state = 1. * -1: Reset state. Transitionable will be reset to state = 0
(opt_dir)
| 230 | * @param {number=} opt_dir |
| 231 | */ |
| 232 | halt(opt_dir) { |
| 233 | this.complete_(/* success */ false, /* dir */ opt_dir || 0); |
| 234 | } |
| 235 | |
| 236 | /** |
| 237 | * @param {boolean} success |