(el: Element)
| 254 | * It can determine if element is having remove animation. |
| 255 | */ |
| 256 | export function isElementRemoved(el: Element) { |
| 257 | if (!el.__zr) { |
| 258 | return true; |
| 259 | } |
| 260 | for (let i = 0; i < el.animators.length; i++) { |
| 261 | const animator = el.animators[i]; |
| 262 | if (animator.scope === 'leave') { |
| 263 | return true; |
| 264 | } |
| 265 | } |
| 266 | return false; |
| 267 | } |
| 268 | |
| 269 | /** |
| 270 | * Remove graphic element |
no outgoing calls
no test coverage detected
searching dependent graphs…