csharpc-sharpdotnetxamlavaloniauicross-platformcross-platform-xamlavaloniaguimulti-platformuser-interfacedotnetcore
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.1 KiB
43 lines
1.1 KiB
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
|
<title>Avalonia Sample</title>
|
|
<base href="/" />
|
|
<link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" />
|
|
<link href="css/app.css" rel="stylesheet" />
|
|
</head>
|
|
|
|
<body>
|
|
<div id="app">Powered by Avalonia</div>
|
|
|
|
<div id="blazor-error-ui">
|
|
An unhandled error has occurred.
|
|
<a href="" class="reload">Reload</a>
|
|
<a class="dismiss">🗙</a>
|
|
</div>
|
|
<script src="js/app.js"></script>
|
|
<script src="_framework/blazor.webassembly.js"></script>
|
|
</body>
|
|
|
|
<script>
|
|
clearInput = () => {
|
|
document.getElementById("inputBox").value = "";
|
|
}
|
|
|
|
focusInput = () => {
|
|
document.getElementById("inputBox").focus();
|
|
}
|
|
|
|
finishInput = () => {
|
|
document.getElementById("container").focus();
|
|
};
|
|
|
|
setCursor = (kind) => {
|
|
document.getElementById("inputBox").style.cursor = kind;
|
|
};
|
|
</script>
|
|
|
|
</html>
|
|
|