(el, callback)
| 39 | } |
| 40 | |
| 41 | export function withoutTransition (el, callback) { |
| 42 | //turn off transition |
| 43 | el.style.transition = 'none'; |
| 44 | |
| 45 | callback(); |
| 46 | |
| 47 | //force a redraw |
| 48 | forceRedraw(el); |
| 49 | |
| 50 | //put the transition back |
| 51 | el.style.transition = ''; |
| 52 | } |
| 53 | |
| 54 | export function getOuterHeight (el) { |
| 55 | let height = el.clientHeight |
no test coverage detected
searching dependent graphs…