diff --git a/README.md b/README.md index d77504aa..e116b111 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,11 @@ Blazor Components ============ [![Build Status](https://dev.azure.com/major-soft/GitHub/_apis/build/status/blazor-components/blazor-components-build-check)](https://dev.azure.com/major-soft/GitHub/_build/latest?definitionId=6) -[![Build Status](https://dev.azure.com/major-soft/GitHub/_apis/build/status/blazor-components/blazor-components-Nuget?branchName=master)](https://dev.azure.com/major-soft/GitHub/_build/latest?definitionId=7&branchName=master) [![License](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/majorimi/blazor-components/blob/master/LICENSE) +![GitHub last commit](https://img.shields.io/github/last-commit/majorimi/blazor-components) +![GitHub Release Date](https://img.shields.io/github/release-date/majorimi/blazor-components) +![GitHub Repo stars](https://img.shields.io/github/stars/majorimi/blazor-components) +[![Build Status](https://dev.azure.com/major-soft/GitHub/_apis/build/status/blazor-components/blazor-components-Nuget?branchName=master)](https://dev.azure.com/major-soft/GitHub/_build/latest?definitionId=7&branchName=master) Majorsoft Blazor Components is a set of UI Components and other useful Extensions for [Blazor](https://blazor.net) applications. All components are available on [NuGet](https://www.nuget.org/profiles/Blazor.Components). diff --git a/demo/Blazor.Components.DemoApp/Blazor.Components.DemoApp.csproj b/demo/Blazor.Components.DemoApp/Blazor.Components.DemoApp.csproj index 097a4ab3..f732c0c0 100644 --- a/demo/Blazor.Components.DemoApp/Blazor.Components.DemoApp.csproj +++ b/demo/Blazor.Components.DemoApp/Blazor.Components.DemoApp.csproj @@ -6,16 +6,16 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/demo/Blazor.Components.DemoApp/Components/JSInterop.razor b/demo/Blazor.Components.DemoApp/Components/JSInterop.razor index b99ead0c..bb715f0f 100644 --- a/demo/Blazor.Components.DemoApp/Components/JSInterop.razor +++ b/demo/Blazor.Components.DemoApp/Components/JSInterop.razor @@ -77,7 +77,7 @@

RegisterPageMouseDownAsync(), RegisterPageMouseUpAsync(), RegisterPageMouseMoveAsync() will add event listeners to HTML document/window mouse events.

- +
@@ -257,11 +257,11 @@ //Mouse examples private ElementReference _log3; private string _logMessage3; - private bool _clickSubscribed3; + private bool _clickSubscribed2; private string _mouseDown, _mouseUp, _mouseMove; private async Task GlobalClickEventHandler() { - if (_clickSubscribed3) + if (_clickSubscribed2) { await _globalMouseEventHandler.RemovePageMouseDownAsync(_mouseDown); await _globalMouseEventHandler.RemovePageMouseUpAsync(_mouseUp); @@ -274,7 +274,7 @@ _mouseMove = await _globalMouseEventHandler.RegisterPageMouseMoveAsync(async (args) => await PageMouseEvents(args, "Document Mouse MOVE")); } - _clickSubscribed3 = !_clickSubscribed3; + _clickSubscribed2 = !_clickSubscribed2; } private async Task PageMouseEvents(MouseEventArgs args, string message) { diff --git a/demo/Blazor.Components.DemoApp/Components/Loading.razor b/demo/Blazor.Components.DemoApp/Components/Loading.razor index 833ada58..a4322d61 100644 --- a/demo/Blazor.Components.DemoApp/Components/Loading.razor +++ b/demo/Blazor.Components.DemoApp/Components/Loading.razor @@ -104,7 +104,7 @@ @code { protected override async Task OnAfterRenderAsync(bool firstRender) { - @*await _loadingButton.InnerElementReference.FocusAsync();*@ + await _loadingButton.InnerElementReference.FocusAsync(); } private string _overlayColor = "lightblue"; diff --git a/demo/Blazor.Components.DemoApp/Components/Permalink.razor b/demo/Blazor.Components.DemoApp/Components/Permalink.razor index 6ea6397c..9d9988bf 100644 --- a/demo/Blazor.Components.DemoApp/Components/Permalink.razor +++ b/demo/Blazor.Components.DemoApp/Components/Permalink.razor @@ -73,8 +73,8 @@ textarea { IconPosition="@_iconPosition" IconActions="@((PermaLinkIconActions)_action)" IconStyle="_iconStyle" - IconSize="18" - IconMarginTop="7" + IconSize="_iconSize" + IconMarginTop="_iconMarginTop" OnPermaLinkCopied="@LinkCopied">

Customizable PermaLinkElement wrapper component

@@ -92,6 +92,17 @@ textarea {
+
+
+
PermaLink icon size: @(_iconSize)px
+
+
+
+
+
PermaLink icon Margin top: @(_iconMarginTop)px
+
+
+
Show PermaLink icon: