parent
602c61568c
commit
516c4f337e
@ -1,20 +0,0 @@
|
||||
using Connected.Components.Showcase.Runner;
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
|
||||
using Connected.Services;
|
||||
|
||||
internal class Program
|
||||
{
|
||||
private static async global::System.Threading.Tasks.Task Main(string[] args)
|
||||
{
|
||||
var builder = WebAssemblyHostBuilder.CreateDefault(args);
|
||||
builder.RootComponents.Add<App>("#app");
|
||||
builder.RootComponents.Add<HeadOutlet>("head::after");
|
||||
|
||||
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
|
||||
|
||||
builder.Services.AddModalDialogService();
|
||||
|
||||
await builder.Build().RunAsync();
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<CascadingValue Value="this">
|
||||
<div class="@GridClass">
|
||||
@ChildContent
|
||||
</div>
|
||||
</CascadingValue>
|
@ -0,0 +1,23 @@
|
||||
<CascadingValue Value="this">
|
||||
<div class="@GridRowClass">
|
||||
<div class="data-grid-select">
|
||||
<label class="toggle-group m-0" for="toggle-s11">
|
||||
<input class="toggle-input" id="toggle-s11" name="toggle" type="checkbox">
|
||||
<div class="toggle-fill"></div>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="data-grid-img">
|
||||
<img class="img-fluid" src="https://source.unsplash.com/random?face" />
|
||||
</div>
|
||||
|
||||
<!-- Row content -->
|
||||
<div class="data-grid-container">
|
||||
@ChildContent
|
||||
</div>
|
||||
|
||||
<div class="data-grid-collapse-cta" @onclick="ToggleNav">
|
||||
<Glyph SVG="@Icons.Material.Filled.KeyboardArrowDown" class="icon-root svg-icon icon-size-md" />
|
||||
</div>
|
||||
</div>
|
||||
</CascadingValue>
|
@ -0,0 +1,3 @@
|
||||
<div class="@GeneratedRowContentClass">
|
||||
@ChildContent
|
||||
</div>
|
Loading…
Reference in new issue