I hereby claim:
- I am sql-mistermagoo on github.
- I am mistermagoo (https://keybase.io/mistermagoo) on keybase.
- I have a public key ASCTkLaGBA_EDhhbNjGEqQ4XvGa8yX4oYSS27T4ZoaIeZgo
To claim this, I am signing this object:
| using McMaster.Extensions.CommandLineUtils; | |
| using Microsoft.Extensions.Logging; | |
| using Microsoft.Extensions.Logging.Abstractions; | |
| using Newtonsoft.Json; | |
| using StreamDeckLib.Messages; | |
| using System; | |
| using System.Diagnostics; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Net.WebSockets; |
| @foreach (var item in new string[] { "AspNetCore","AspNet","SomeJsThingWhatever"}) | |
| { | |
| <div> | |
| <input type="radio" name="technology" id="@item" value="@item" @onchange="RadioSelection" checked=@(RadioValue.Equals(item,StringComparison.OrdinalIgnoreCase)) /> | |
| <label for="@item">@item</label> | |
| </div> | |
| } | |
| <div> | |
| <label>Selected Value is @RadioValue</label> | |
| </div> |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width" /> | |
| <title>Blazor Loading</title> | |
| <base href="/" /> | |
| <link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" /> | |
| <link href="css/site.css" rel="stylesheet" /> | |
| </head> |
I hereby claim:
To claim this, I am signing this object:
| using System.Reflection; | |
| using System.Text; | |
| using System.Text.Json.Serialization; | |
| public class CssProperties | |
| { | |
| [JsonPropertyName("align-content")] public string AlignContent { get; set; } | |
| [JsonPropertyName("align-items")] public string AlignItems { get; set; } | |
| [JsonPropertyName("alignment-baseline")] public string AlignmentBaseline { get; set; } | |
| [JsonPropertyName("align-self")] public string AlignSelf { get; set; } |
| <script autostart="false" src="_framework/blazor.server.js"></script> | |
| <script> | |
| async function connectionDown(options) { | |
| console.log("Connection Down - you could do some UI here..."); | |
| for (let i = 0; i < options.maxRetries; i++) { | |
| console.log("Waiting for reconnect attempt #"+(i+1)+" ..."); | |
| await this.delay(options.retryIntervalMilliseconds); | |
| if (this.isDisposed) { | |
| break; | |
| } |
| import { RenderBatch, ArrayBuilderSegment, RenderTreeEdit, RenderTreeFrame, EditType, FrameType, ArrayValues } from './RenderBatch/RenderBatch'; | |
| import { EventDelegator } from './EventDelegator'; | |
| import { EventForDotNet, UIEventArgs, EventArgsType } from './EventForDotNet'; | |
| import { LogicalElement, PermutationListEntry, toLogicalElement, insertLogicalChild, removeLogicalChild, getLogicalParent, getLogicalChild, createAndInsertLogicalContainer, isSvgElement, getLogicalChildrenArray, getLogicalSiblingEnd, permuteLogicalChildren, getClosestDomElement } from './LogicalElements'; | |
| import { applyCaptureIdToElement } from './ElementReferenceCapture'; | |
| import { EventFieldInfo } from './EventFieldInfo'; | |
| import { dispatchEvent } from './RendererEventDispatcher'; | |
| import { attachToEventDelegator as attachNavigationManagerToEventDelegator } from '../Services/NavigationManager'; | |
| const selectValuePropname = '_blazorSelectValue'; | |
| const sharedTemplateElemForParsing = document.createElement('template'); |
| @* Code below handles deep links to anchors through the entire application *@ | |
| @inject NavigationManager NavMan | |
| @inject IJSRuntime JS | |
| @code | |
| { | |
| protected override async Task OnAfterRenderAsync(bool firstRender) | |
| { | |
| if (firstRender && NavMan.Uri.Contains('#')) | |
| { |
| <table class="table-bordered"> | |
| <tr> | |
| <td @ondblclick="StartEdit"> | |
| @if (Editing) | |
| { | |
| <input @bind="Name" @onblur="EndEdit" /> | |
| } | |
| else | |
| { | |
| <span>@(Name ?? "double-click here")</span> |
| <main @ontouchstart="TouchStart" @ontouchend="TouchEnd" style="height:100vh;"> | |
| <Router AppAssembly="@typeof(Program).Assembly"> | |
| <Found Context="routeData"> | |
| <RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" /> | |
| </Found> | |
| <NotFound> | |
| <LayoutView Layout="@typeof(MainLayout)"> | |
| <p>Sorry, there's nothing at this address.</p> | |
| </LayoutView> | |
| </NotFound> |