Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avalonia.Web (wasm) #7029

Merged
merged 56 commits into from
Dec 6, 2021
Merged

Avalonia.Web (wasm) #7029

merged 56 commits into from
Dec 6, 2021

Conversation

danwalmsley
Copy link
Member

@danwalmsley danwalmsley commented Nov 28, 2021

What does the pull request do?

Adds support for WASM using Blazor tooling. Avalonia is provided as a Blazor component right now.

However later should be possible to provide any canvas from html not requiring an actual blazor app.

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

Breaking changes

Obsoletions / Deprecations

Fixed issues

@danwalmsley danwalmsley changed the title add Avalonia.Blazor and sample project. Avalonia.Web (wasm) Nov 28, 2021
samples/ControlCatalog.Web/App.razor.cs Outdated Show resolved Hide resolved

@using Avalonia.Blazor

<AvaloniaView />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might as well separate <AvaloniaView Content="..."/> and <AvaloniaMainView/> that hosts the view from ISingleViewApplicationLifetime. Not required right now.

samples/ControlCatalog.Web/wwwroot/css/app.css Outdated Show resolved Hide resolved
src/Web/Avalonia.Blazor/AssetLoader.cs Outdated Show resolved Hide resolved
src/Web/Avalonia.Blazor/Avalonia.Blazor.csproj Outdated Show resolved Hide resolved
src/Web/Avalonia.Blazor/wwwroot/SKHtmlCanvas.js.map Outdated Show resolved Hide resolved
@danwalmsley danwalmsley marked this pull request as ready for review November 30, 2021 22:32
.gitignore Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants