Example
Pull down on page to see! (touch device only)
<mc-pull-to-refresh onrefresh="console.log('refresh')"></mc-pull-to-refresh>
const element = document.querySelector('mc-pull-to-refresh'); element.addEventListener('refresh', () => { // Do work element.resolve(); })