mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 01:48:40 +00:00
Input element layout
This commit is contained in:
parent
b36c9f789a
commit
53f6387d89
41
UI/InputElements.js
Normal file
41
UI/InputElements.js
Normal 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;
|
||||
}
|
||||
};
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user