mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-24 07:28:40 +00:00
Binding element
This commit is contained in:
parent
86a20798d3
commit
58c96cfeb9
|
|
@ -36,8 +36,12 @@
|
|||
* @since 1.0.0
|
||||
* @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;
|
||||
|
||||
input.addEventListener('change', function changeBind(event)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user