This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // a vue.js mixin that uses this method to force an effecient rerender of the component(s) in response to resize events: | |
| // https://michaelnthiessen.com/force-re-render/ | |
| import { | |
| tap, debounceTime, | |
| } from 'rxjs/operators'; | |
| import { fromEvent } from 'rxjs'; | |
| export default function rerender(...componentKeys) { |