* Remove graphic element
(el, props, animatableModel, dataIndex, cb, during)
| 14456 | */ |
| 14457 | |
| 14458 | function removeElement(el, props, animatableModel, dataIndex, cb, during) { |
| 14459 | // Don't do remove animation twice. |
| 14460 | if (isElementRemoved(el)) { |
| 14461 | return; |
| 14462 | } |
| 14463 | |
| 14464 | animateOrSetProps('remove', el, props, animatableModel, dataIndex, cb, during); |
| 14465 | } |
| 14466 | |
| 14467 | function fadeOutDisplayable(el, animatableModel, dataIndex, done) { |
| 14468 | el.removeTextContent(); |
no test coverage detected
searching dependent graphs…