Add List and ListItem

Fixes #15
This commit is contained in:
Frank A. Krueger 2017-06-20 18:29:14 -07:00
parent 6423df5217
commit d9efbcd494
2 changed files with 24 additions and 0 deletions

12
Ooui/List.cs Normal file
View File

@ -0,0 +1,12 @@
using System;
namespace Ooui
{
public class List : Element
{
public List (bool ordered = false)
: base (ordered ? "ol" : "ul")
{
}
}
}

12
Ooui/ListItem.cs Normal file
View File

@ -0,0 +1,12 @@
using System;
namespace Ooui
{
public class ListItem : Element
{
public ListItem ()
: base ("li")
{
}
}
}