implement Y.*Binding approach
This commit is contained in:
15
src/Binding/Binding.js
Normal file
15
src/Binding/Binding.js
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
import { createMutualExclude } from '../Util/mutualExclude.js'
|
||||
|
||||
|
||||
export default class Binding {
|
||||
constructor (type, target) {
|
||||
this.type = type
|
||||
this.target = target
|
||||
this._mutualExclude = createMutualExclude()
|
||||
}
|
||||
destroy () {
|
||||
this.type = null
|
||||
this.target = null
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user