Install MatBlazor library via nuget.
Install-Package MatBlazor
or
dotnet add package MatBlazor
Add @using MatBlazor in main _Imports.razor
MatBlazor components are self-supporting.
Add script section to index.html or _Host.cshtml (head section)
Add registration of service to Startup.cs
Add MatPortalHost component to root component (App.razor) for some services like MatDialogService, MatPortalService
MatBlazor does not run under the umbrella of any company or anything like that. It is an independent project created in spare time. The development is active and we are working hard to release great things for you.
If you think that this project helped you or your company in any way, you can consider becoming a backer/sponsor.
MatVirtualScroll - complete new componentMatDataTable - complete new componentMatDatePicker - improvementsMatTreeView - complete new componentMatAutocomplete - new implementation of componentasync void for UI events #808 (Thanks to Christian-Oleson)MatVirtualScroll - New component-sbyte?, byte?, short?, ushort?, int?, uint?, long?, ulong?, char?, float?, double? #449 (Thanks to fire-birdie)MatSelect #454 (Thanks to hailstorm75)MatSortHeader, MatSortHeaderRow - New componentMatPaginator - New componenthoistMenuToBody for MatSelect and MatMenu - fix #415Breaking changes - Upgrade an existing project
<link href="_content/MatBlazor/dist/matBlazor.css" rel="stylesheet" /> to html code.NET Core 3.2 Preview 1 librariesPR: Update to .NET Core 3.2 Preview 1 #409 (Thanks to enkodellc)
PR: Separation of CSS and JS resources #408 (Thanks to RonPeters)
MatSelectItem<TValue>
ItemTemplateTValue parameter should be defined if he is not inferred.EditContextMatSelectValue<TItem, TValue>
ItemTemplate using ValueSelectorTValue parameter should be defined if he is not inferred.EditContextMatFileUpload - progress bar added, improoved performance
MatFileUpload - inital version of componentToggled parameter and ToggledChanged.MatSelect was rewrited and prepared for MatSelectItem and MatSelectValue, supported only Enhanced mode, Disabled for MatOption is temporary not workingMatAutocomplete renamed to MatAutocompleteListItemType renamed to TItemCollection renamed to ItemsMatAutocomplete component will be in 2.1.0TValue parameter should be defined if he is not inferred.bool, bool?EditContextChecked renamed to ValueCheckedChanged renamed to ValueChangedAttributes is appended to main component HtmlElement (not InputElement). Use InputAttributes instead.TValue parameter should be defined if he is not inferred.DateTime, DateTime?EditContextDateFormat renamed to Format, and this is full .NET formatting of DateTimeMinimum, Maximum paramneteres addedNoCalendar renamed to DisableCalendarAltFormat, AltInputClass, Inline removedTValue parameter should be defined if he is not inferred.sbyte, byte, short, ushort, int, uint, long, ulong, char, float, double, decimal, decimal?EditContextTValue parameter should be defined if he is not inferred.EditContextMatOption component manuallyTValue parameter should be defined if he is not inferred.EditContextstring, sbyte, byte, short, ushort, int, uint, long, ulong, char, float, double, decimal, decimal?, DateTime, DateTime?, bool, bool?MatSelectString, MatOptionStringTValue parameter should be defined if he is not inferred.sbyte, byte, short, ushort, int, uint, long, ulong, char, float, double, decimal, decimal?EditContextStep parameterTValue parameter should be defined if he is not inferred.bool, bool?EditContextTValue parameter should be defined if he is not inferred.string, sbyte, byte, short, ushort, int, uint, long, ulong, char, float, double, decimal, decimal?, DateTime, DateTime?, bool, bool?EditContextMatStringField - replacement old MatTextField - just for string values without generic TValue parameter.MatBlazorInstall - removed<table> is off #195RenderStaticComponentAsync, but did not.RenderComponentAsync, also because in Preview 9 RenderStaticComponentAsync will be removed (https://github.com/aspnet/AspNetCore/issues/12245).<MatBlazorInstall /> for server-side Blazor is obsolete