Ooui-tws-port/Ooui/Div.cs

32 lines
608 B
C#
Raw Normal View History

2017-06-13 07:51:24 +00:00
using System;
2017-12-09 21:20:11 +00:00
using System.Collections.Generic;
2017-06-13 07:51:24 +00:00
namespace Ooui
{
public class Div : Element
{
2018-02-02 04:18:16 +00:00
protected override bool HtmlNeedsFullEndElement => true;
2017-06-15 06:20:51 +00:00
public Div ()
: base ("div")
{
}
2017-12-09 21:20:11 +00:00
public Div (params Element[] children)
: this ()
{
foreach (var c in children) {
AppendChild (c);
}
}
public Div (IEnumerable<Element> children)
: this ()
{
foreach (var c in children) {
AppendChild (c);
}
}
2017-06-13 07:51:24 +00:00
}
}