How to use vscroll - 1 common examples

To help you get started, we’ve selected a few vscroll examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mozilla-b2g / gaia / apps / email / js / cards / message_list.js View on Github external
if (removableCacheNode) {
        this._topBar.resetNodeForCache(removableCacheNode);
      }

      // Hide the last sync number
      var tempNode = cacheNode.querySelector('.msg-last-synced-label');
      if (tempNode) {
        tempNode.classList.add('collapsed');
      }
      tempNode = cacheNode.querySelector('.msg-last-synced-value');
      if (tempNode) {
        tempNode.innerHTML = '';
      }

      // Trim vScroll containers that are not in play
      VScroll.trimMessagesForCache(
        cacheNode.querySelector('.msg-vscroll-container'),
        this._cacheListLimit
      );

      htmlCache.saveFromNode(module.id, cacheNode);
    },

vscroll

Virtual scroll engine

MIT
Latest version published 1 month ago

Package Health Score

69 / 100
Full package analysis

Popular vscroll functions