Version 0.9.5 beta - added attributes max, min, step, onblur, onfocus to the form.

This commit is contained in:
Stephan Kasdorf
2020-11-04 19:42:22 +01:00
parent 7b71fba0d5
commit 9070ec0dc8
4 changed files with 19 additions and 4 deletions

View File

@@ -25,6 +25,9 @@ interface IForm
const FORM_TYPE_BUTTON = 'button';
const FORM_ATTRIBUTE_ROWS = 'rows';
const FORM_ATTRIBUTE_COLS = 'cols';
const FORM_ATTRIBUTE_MIN = 'min';
const FORM_ATTRIBUTE_MAX = 'max';
const FORM_ATTRIBUTE_STEP = 'step';
const FORM_ATTRIBUTE_SPEECH = 'speech';
const FORM_ATTRIBUTE_SRC = 'src';
const FORM_ATTRIBUTE_ALT = 'alt';
@@ -37,6 +40,8 @@ interface IForm
const FORM_ATTRIBUTE_TYPE = 'type';
const FORM_ATTRIBUTE_ONCHANGE = 'onchange';
const FORM_ATTRIBUTE_ONSUBMIT = 'onsubmit';
const FORM_ATTRIBUTE_ONBLUR = 'onblur';
const FORM_ATTRIBUTE_ONFOCUS = 'onfocus';
const FORM_ATTRIBUTE_SELECTED = 'selected';
const FORM_ATTRIBUTE_CONTEXT = 'context';
const FORM_ATTRIBUTE_CHECKED = 'checked';