()
| 94 | } |
| 95 | |
| 96 | pop(): void { |
| 97 | const popped = this.current; |
| 98 | if (this.tmplCount > 0 && this._isInTemplate()) { |
| 99 | this.tmplCount--; |
| 100 | } |
| 101 | |
| 102 | this.stackTop--; |
| 103 | this._updateCurrentElement(); |
| 104 | |
| 105 | this.handler.onItemPop(popped, true); |
| 106 | } |
| 107 | |
| 108 | replace(oldElement: T['element'], newElement: T['element']): void { |
| 109 | const idx = this._indexOf(oldElement); |
no test coverage detected