diff --git a/UI/InputElements.js b/UI/InputElements.js new file mode 100644 index 0000000..e9aa0bc --- /dev/null +++ b/UI/InputElements.js @@ -0,0 +1,41 @@ +/** + * Form manager class. + * + * @author OMS Development Team + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 * @since 1.0.0 + */ +(function (jsOMS, undefined) +{ + "use strict"; + + /** + * @constructor + * + * @since 1.0.0 + * @author Dennis Eichhorn + */ + jsOMS.InputElements = function () + { + this.elements = []; + }; + + jsOMS.InputElements.prototype.bind = function(id) + { + + }; + + jsOMS.InputElements.prototype.bindElement = function(e) + { + switch(e.dataset.type) { + case jsOMS.InputElementsEnum.AUTOCOMPLETE: + // autocomplete with drop down returns object + // { value: , text: , data: 'could be object'} + break; + case jsOMS.InputElementsEnum.POPUP: + break; + } + }; +} \ No newline at end of file