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-07-08 05:55:04 +00:00
|
|
|
public event TargetEventHandler Submitted {
|
2017-06-16 06:35:58 +00:00
|
|
|
add => AddEventListener ("submit", value);
|
|
|
|
remove => RemoveEventListener ("submit", value);
|
|
|
|
}
|
|
|
|
|
2017-07-08 05:55:04 +00:00
|
|
|
public event TargetEventHandler Reset {
|
2017-06-16 06:40:18 +00:00
|
|
|
add => AddEventListener ("reset", value);
|
|
|
|
remove => RemoveEventListener ("reset", value);
|
|
|
|
}
|
|
|
|
|
2017-06-16 06:35:58 +00:00
|
|
|
public Form ()
|
|
|
|
: base ("form")
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|