omi-mp - supports moved
This commit is contained in:
parent
e708c960f6
commit
884955af24
|
@ -64,6 +64,8 @@ class Element extends WeElement {
|
|||
mpOption.ready && mpOption.ready.call(this)
|
||||
}
|
||||
|
||||
adoptedCallback = mpOption.moved || function() {}
|
||||
|
||||
triggerEvent = function(name, data) {
|
||||
this.fire(name, data)
|
||||
}
|
||||
|
|
|
@ -58,6 +58,8 @@ class Element extends WeElement {
|
|||
mpOption.ready && mpOption.ready.call(this)
|
||||
}
|
||||
|
||||
adoptedCallback = mpOption.moved || function() {}
|
||||
|
||||
triggerEvent = function(name, data) {
|
||||
this.fire(name, data)
|
||||
}
|
||||
|
|
|
@ -65,6 +65,8 @@ class Element extends WeElement {
|
|||
mpOption.ready && mpOption.ready.call(this)
|
||||
}
|
||||
|
||||
adoptedCallback = mpOption.moved || function() {}
|
||||
|
||||
triggerEvent = function(name, data) {
|
||||
this.fire(name, data)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue