Blazor.Virtual.Waterfall 1.0.5

dotnet add package Blazor.Virtual.Waterfall --version 1.0.5
                    
NuGet\Install-Package Blazor.Virtual.Waterfall -Version 1.0.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Blazor.Virtual.Waterfall" Version="1.0.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Blazor.Virtual.Waterfall" Version="1.0.5" />
                    
Directory.Packages.props
<PackageReference Include="Blazor.Virtual.Waterfall" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Blazor.Virtual.Waterfall --version 1.0.5
                    
#r "nuget: Blazor.Virtual.Waterfall, 1.0.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Blazor.Virtual.Waterfall@1.0.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Blazor.Virtual.Waterfall&version=1.0.5
                    
Install as a Cake Addin
#tool nuget:?package=Blazor.Virtual.Waterfall&version=1.0.5
                    
Install as a Cake Tool

blazor-virtual-waterfall

This is a virtual waterfall component packaged with blazor.

Quick start.

  1. Add the nuget package Blazor.Virtual.Waterfall to project.
    dotnet add package Blazor.Virtual.Waterfall --version 1.0.5
    
  2. Add style and script references.
    ...
    <link rel="stylesheet" href="_content/Blazor.Virtual.Waterfall/Blazor.Virtual.Waterfall.css" />
    ...
    <script src="_content/Blazor.Virtual.Waterfall/Blazor.Virtual.Waterfall.js" type="module"></script>
    ...
    
    
  3. Sample code:
    <VirtualWaterfall TItem="Item"
                    Layout="layout"
                    ItemsSource="items">
        <ItemTemplate>
            <div style="height:100%;background-color:#@(context.Color);opacity:0.3;">
                <div>@(context.Color)</div>
            </div>
        </ItemTemplate>
    </VirtualWaterfall>
    @code {
        private List<Item> items => Enumerable.Range(0, 5000).Select(o => new Item { Color = this.GetColor(), Height = this.random.Next(200, 600) }).ToList();
        private Random random = new Random();
        private Blazor.Virtual.Waterfall.ILayout<Item> layout = new DefaultLayout<Item>
        {
            Spacing = 8,
            HeightCalculator = (o, _) => o.Height,
        };
        private string GetColor()
        {
            return random.Next(16777215).ToString("X2").PadLeft(6, '0');
        }
    
        public class Item
        {
            public int Height { get; set; }
    
            public string Color { get; set; }
        }
    }
    
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.5 185 2/26/2024
1.0.4 176 2/26/2024
1.0.3 148 2/26/2024
1.0.2 166 2/15/2024
1.0.1 150 2/15/2024
1.0.0 154 2/15/2024