@logo-elements/virtual-list

    1.2.0 • Public • Published

    @logo-elements/virtual-list

    A web component for rendering a long list of items without sacrificing performance.

    npm version

    <logo-elements-virtual-list></logo-elements-virtual-list>
    
    <script>
      const list = document.querySelector('logo-elements-virtual-list');
      list.items = items; // An array of data items
      list.renderer = (root, list, { item, index }) => {
        root.textContent = `#${index}: ${item.name}`;
      };
    </script>

    Installation

    Install the component:

    npm i @logo-elements/virtual-list -s

    Once installed, import the component in your application:

    import '@logo-elements/virtual-list';

    For more detailed information, please visit:

    Logo Elements Documentation

    Install

    npm i @logo-elements/virtual-list

    DownloadsWeekly Downloads

    8

    Version

    1.2.0

    License

    See license in LICENSE file

    Unpacked Size

    4.67 kB

    Total Files

    4

    Last publish

    Collaborators

    • serdarates
    • gamzeyapici
    • hakan.tunc
    • serhan.gurbuz