Ooui-tws-port/Ooui/Div.cs

40 lines
785 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
2020-03-09 00:32:49 +00:00
public Div (params Node[] children)
: this ()
{
foreach (var c in children) {
AppendChild (c);
}
}
public Div (IEnumerable<Node> children)
2017-12-09 21:20:11 +00:00
: 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
}
}