mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-13 07:58:41 +00:00
Binding element
This commit is contained in:
parent
86a20798d3
commit
58c96cfeb9
|
|
@ -36,8 +36,12 @@
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
*/
|
*/
|
||||||
jsOMS.UI.Input.bind = function (input)
|
jsOMS.UI.Input.bindElement = function (input)
|
||||||
{
|
{
|
||||||
|
if(typeof input === 'undefined') {
|
||||||
|
throw 'Input element required'
|
||||||
|
}
|
||||||
|
|
||||||
let self = this;
|
let self = this;
|
||||||
|
|
||||||
input.addEventListener('change', function changeBind(event)
|
input.addEventListener('change', function changeBind(event)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user