mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 22:23:29 -07:00
Turn on the "xamlName" output in DOM
This commit is contained in:
parent
e77ff0326e
commit
af575c24f8
1 changed files with 5 additions and 1 deletions
|
@ -3,6 +3,7 @@ using Microsoft.Extensions.Logging;
|
||||||
using System;
|
using System;
|
||||||
using Uno.Extensions;
|
using Uno.Extensions;
|
||||||
using Windows.UI.Xaml;
|
using Windows.UI.Xaml;
|
||||||
|
using Uno.UI;
|
||||||
|
|
||||||
namespace WindowsCalculator.Wasm
|
namespace WindowsCalculator.Wasm
|
||||||
{
|
{
|
||||||
|
@ -14,7 +15,10 @@ namespace WindowsCalculator.Wasm
|
||||||
{
|
{
|
||||||
Console.WriteLine("Program.Main");
|
Console.WriteLine("Program.Main");
|
||||||
|
|
||||||
Windows.UI.Xaml.Application.Start(_ => _app = new App());
|
FeatureConfiguration.UIElement.AssignDOMXamlName = true;
|
||||||
|
|
||||||
|
|
||||||
|
Windows.UI.Xaml.Application.Start(_ => _app = new App());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue