<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Abdullah ÖZCAN</title>
    <description>The latest articles on DEV Community by Abdullah ÖZCAN (@abdullahozcan).</description>
    <link>https://dev.to/abdullahozcan</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F474159%2Fe9976003-4ae0-4ad0-bb6c-9ebd20c8adba.jpeg</url>
      <title>DEV Community: Abdullah ÖZCAN</title>
      <link>https://dev.to/abdullahozcan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abdullahozcan"/>
    <language>en</language>
    <item>
      <title>javascript scroll on stop</title>
      <dc:creator>Abdullah ÖZCAN</dc:creator>
      <pubDate>Sun, 16 Oct 2022 20:11:51 +0000</pubDate>
      <link>https://dev.to/abdullahozcan/javascript-scroll-on-stop-5b4a</link>
      <guid>https://dev.to/abdullahozcan/javascript-scroll-on-stop-5b4a</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var scrollStop = function (callback) {
        // Make sure a valid callback was provided
        if (!callback || typeof callback !== 'function') return;
        // Setup scrolling variable
        var isScrolling;
        // Listen for scroll events
            window.addEventListener('scroll', function (event) {
                // Clear our timeout throughout the scroll
                window.clearTimeout(isScrolling);
                // Set a timeout to run after scrolling ends
                isScrolling = setTimeout(function() {
                    // Run the callback
                    callback();
                }, 66);
            }, false);
        };
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>javascript</category>
      <category>scroll</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
