Input element layout

This commit is contained in:
Dennis Eichhorn 2016-03-01 21:00:54 +01:00
parent b36c9f789a
commit 53f6387d89

41
UI/InputElements.js Normal file
View File

@ -0,0 +1,41 @@
/**
* Form manager class.
*
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @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 <d.eichhorn@oms.com>
*/
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;
}
};
}