BlazorPro.BlazorSize
9.0.0
dotnet add package BlazorPro.BlazorSize --version 9.0.0
NuGet\Install-Package BlazorPro.BlazorSize -Version 9.0.0
<PackageReference Include="BlazorPro.BlazorSize" Version="9.0.0" />
paket add BlazorPro.BlazorSize --version 9.0.0
#r "nuget: BlazorPro.BlazorSize, 9.0.0"
// Install BlazorPro.BlazorSize as a Cake Addin #addin nuget:?package=BlazorPro.BlazorSize&version=9.0.0 // Install BlazorPro.BlazorSize as a Cake Tool #tool nuget:?package=BlazorPro.BlazorSize&version=9.0.0
BlazorSize is a JavaScript interop library for Blazor that is used to detect the Browser's current size, change in size, and test media queries.
BlazorSize was designed to allow Razor Components to implement adaptive rendering. Handle mobile/desktop rendering changes at runtime with ease and complement your apps CSS media queries with programmatic work flows.
For documentation please refer to the Wiki section of this GitHub repo.
<hr>
A component with similar functionality of BlazorSize can also be found in Telerik UI for Blazor.
If you’re already a Telerik customer there’s no need to use BlazorSize, instead you may use the TelerikMediaQuery component. If you’re looking for a full component library of 100+ components, world class support, and rich documentation then give Telerik UI for Blazor a try for free.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. |
-
net9.0
- Microsoft.AspNetCore.Components (>= 9.0.0)
- Microsoft.AspNetCore.Components.Web (>= 9.0.0)
- Microsoft.Extensions.DependencyInjection (>= 9.0.0)
NuGet packages (10)
Showing the top 5 NuGet packages that depend on BlazorPro.BlazorSize:
Package | Downloads |
---|---|
DataJuggler.BlazorGallery
A project template for creating a Blazor Image Gallery project that uses SQL Server for a backend. You will need SQL Server or SQL Server Express to run this project. See the Read Me for more info. Watch this video to see a demo https://youtu.be/yQz1dqYiy2g. |
|
Egea.Extensions.Razor
Package Description |
|
Blazm.Components
A collection of Blazor components |
|
BlazorPro.BlazorSize.UnitTesting
A testing library to provide helper extensions for BlazorSize. |
|
Jakar.Extensions.Blazor
Extensions to aid in development. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on BlazorPro.BlazorSize:
Repository | Stars |
---|---|
telerik/blazor-ui
A collection of examples related to Telerik UI for Blazor Components: https://www.telerik.com/blazor-ui
|
Version | Downloads | Last updated |
---|---|---|
9.0.0 | 388 | 11/15/2024 |
8.0.0 | 82,241 | 4/22/2024 |
8.0.0-preview | 131 | 4/15/2024 |
6.2.2 | 127,572 | 8/30/2023 |
6.2.1 | 95,756 | 4/25/2023 |
6.2.0 | 46,023 | 1/6/2023 |
6.1.2 | 146,680 | 2/12/2022 |
6.1.1 | 8,253 | 1/28/2022 |
6.1.0 | 23,580 | 12/1/2021 |
6.0.0 | 32,870 | 11/10/2021 |
6.0.0-pre2 | 2,606 | 10/5/2021 |
6.0.0-pre | 270 | 8/23/2021 |
5.0.0 | 61,426 | 5/27/2021 |
5.0.0-pre | 1,136 | 5/25/2021 |
3.2.1 | 19,626 | 3/9/2021 |
3.2.0 | 2,310 | 3/5/2021 |
3.1.0 | 62,509 | 11/30/2020 |
3.0.0 | 1,779 | 11/23/2020 |
2.3.0 | 45,048 | 8/11/2020 |
2.0.2 | 21,930 | 4/21/2020 |
1.2.2 | 10,300 | 1/26/2020 |
1.2.1 | 1,126 | 1/23/2020 |
1.2.0 | 1,279 | 1/22/2020 |
9.0.0 Fixes issue with UnobservedTaskExceptions
8.0.0 Adds support for .NET 8 interactive modes
6.2.2 Fixes more codepaths that may result in Microsoft.JSInterop.JSDisconnectedException
6.2.1 Fixed Microsoft.JSInterop.JSDisconnectedException
6.2.0 Fixed bug where MediaQuery dispose was not always working correctly.
6.1.2 Fixed casing on JS modules, fixes deployment issues on Linux. (regression)
6.1.1 Replaced deprecated `addListener` method. Removed console log messages, again.
6.1.0 Removed dependency for bUnit.Core. Breaking changes may occur in test projects. Removed console log messages.
6.0.0 Fixed possible null issues. .NET 6 support. Moved APIs for bUnit to BlazorPro.BlazorSize.UnitTesting.
5.0.0 Added support for bUnit. Removed support for .NET 3.x
4.0.0 no release, aligning with .NET 5.0. Next version will no longer support .NET 3.x
3.2.0
Added service interfaces, IMediaQueryService, IResizeListener to support unit testing scenarios
Added end-to-end testing on source for QA
3.1.0
Added .NET 5 module loading for BlazorSize Resize Listener.
Fixed casing on JS modules, fixes deployment issues on Linux.
3.0.0
Added .NET 5 module loading for BlazorSize Media Queries.
2.3.0
Fixed additional regressions from 2.2.0, update recommended.
2.2.0
Fixed possible regressions, update recommended.
Updated Blazor dependencies.
2.1.1
Fixed MSBuild including *.json files breaking NuGet pkg.
2.0.0
Added MediaQueryList & MediaQuery components.
1.2.2
Fixes initalization issues with Client-Side Blazor
1.2.0
Full-release