// Usage example const refreshManager = new RefreshShortcut( preventDefault: true, showNotification: true, onRefresh: () => console.log('Custom refresh logic here'); // Example: refresh specific data fetchData();
handleKeyDown(event)
`; document.head.appendChild(style);