·
15 commits
to main
since this release
What is included:
Jinget.Core
- Using
DbTypeUtility
class you can now get the correspondingDbType
for given .NET CLR types - Using
UriExtensions
'sAddQuery
extension method you can now add query string to your URLs likenew Uri($"https://jinget.ir").AddQuery("name", "vahid")
- Using
OrderByDirectionUtility.Get
method you can now get order by direction using string representation.
Jinget.Blazor
-
PreBindingFunction
: user can define a method to run beforeBindingFunction
. -
BindingFunction
: user can define a method to bind data into Combo Box. IfGetTokenBeforeBinding
is set to true, then before running theBindingFunction
,ITokenStorageService.GetTokenAsync()
method will be called to read the token from localStorage where localStorage key is equal toTokenConfigModel.TokenName
. (Seebuilder.Services.AddJingetBlazor();
) -
PostBindingFunction
: user can define a method to run afterBindingFunction
. -
JingetDynamicForm
now haveDynamicFields
property, which returns a list of fields rendered on page. -
JingetDynamicForm
now haveFindElement
method which finds ekemnt by id or generic type. -
JingetDynamicForm
now haveOnFieldReady
event which raised whenever a field rendered on page. - Using
ILocalStorageService
you can interact with browser's localStorage. - Using
ISessionStorageService
you can interact with browser's sessionStorage.
Here are methods used to interact with these two browser storages:
GetItemAsync
: Get item with specific key from storage.GetAllAsync
: Get all items from storage.SetItemAsync
: Set item to storageUpsertItemAsync
: Add or update item to storageRemoveItemAsync
: Remove item with specific key from storageRemoveAllAsync
: Remove all items from storage