2017-06-16 06:35:58 +00:00
|
|
|
using System;
|
|
|
|
|
|
|
|
namespace Ooui
|
|
|
|
{
|
|
|
|
public class Form : Element
|
|
|
|
{
|
2017-06-24 23:25:14 +00:00
|
|
|
string action = "";
|
|
|
|
public string Action {
|
|
|
|
get => action;
|
|
|
|
set => SetProperty (ref action, value ?? "", "action");
|
|
|
|
}
|
|
|
|
|
2017-06-16 06:35:58 +00:00
|
|
|
public event EventHandler Submitted {
|
|
|
|
add => AddEventListener ("submit", value);
|
|
|
|
remove => RemoveEventListener ("submit", value);
|
|
|
|
}
|
|
|
|
|
2017-06-16 06:40:18 +00:00
|
|
|
public event EventHandler Reset {
|
|
|
|
add => AddEventListener ("reset", value);
|
|
|
|
remove => RemoveEventListener ("reset", value);
|
|
|
|
}
|
|
|
|
|
2017-06-16 06:35:58 +00:00
|
|
|
public Form ()
|
|
|
|
: base ("form")
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|