(el)
| 30 | } |
| 31 | |
| 32 | export function forceRedraw (el) { |
| 33 | let originalDisplay = el.style.display; |
| 34 | |
| 35 | el.style.display = 'none'; |
| 36 | let oh = el.offsetHeight; |
| 37 | el.style.display = originalDisplay; |
| 38 | return oh; |
| 39 | } |
| 40 | |
| 41 | export function withoutTransition (el, callback) { |
| 42 | //turn off transition |
no outgoing calls
no test coverage detected
searching dependent graphs…