Blazor.Virtual.Waterfall
1.0.5
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Standard 2.1
This package targets .NET Standard 2.1. The package is compatible with this framework or higher.
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.
paket add Blazor.Virtual.Waterfall --version 1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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.
// Install Blazor.Virtual.Waterfall as a Cake Addin #addin nuget:?package=Blazor.Virtual.Waterfall&version=1.0.5 // Install Blazor.Virtual.Waterfall as a Cake Tool #tool nuget:?package=Blazor.Virtual.Waterfall&version=1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
blazor-virtual-waterfall
This is a virtual waterfall component packaged with blazor.
Quick start.
- Add the nuget package
Blazor.Virtual.Waterfall
to project.dotnet add package Blazor.Virtual.Waterfall --version 1.0.5
- 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> ...
- 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 | Versions 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. |
.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.
-
.NETStandard 2.1
- Microsoft.AspNetCore.Components.Web (>= 3.1.20)
-
net5.0
- Microsoft.AspNetCore.Components.Web (>= 5.0.3)
-
net6.0
- Microsoft.AspNetCore.Components.Web (>= 6.0.0)
-
net7.0
- Microsoft.AspNetCore.Components.Web (>= 7.0.0)
-
net8.0
- Microsoft.AspNetCore.Components.Web (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.