Fix the sample home page
This commit is contained in:
parent
bd802c7d1b
commit
eb5851c151
|
@ -18,5 +18,18 @@ namespace Ooui
|
|||
: base ("a")
|
||||
{
|
||||
}
|
||||
|
||||
public Anchor (string href)
|
||||
: this ()
|
||||
{
|
||||
HRef = href;
|
||||
}
|
||||
|
||||
public Anchor (string href, string text)
|
||||
: this ()
|
||||
{
|
||||
HRef = href;
|
||||
Text = text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
<hr />
|
||||
<footer>
|
||||
<p>© 2017 - @DateTime.UtcNow.Year Frank A. Krueger</p>
|
||||
@{ var e = new Ooui.Sa.Button("Hello World"); }
|
||||
@{ var e = new Ooui.Anchor ("https://github.com/praeclarum/Ooui", "π"); }
|
||||
<ooui element="e" />
|
||||
<!--Html.Ooui (e)-->
|
||||
</footer>
|
||||
|
|
Loading…
Reference in New Issue