(source: any)
| 188 | } |
| 189 | |
| 190 | public bind(source: any): void { |
| 191 | const target = this.targetOptions.instance.get(); |
| 192 | if (this.sourceIsBindingContext && target instanceof Observable && this.targetOptions.property !== 'bindingContext') { |
| 193 | target.on('bindingContextChange', this.bindingContextChanged, this); |
| 194 | } |
| 195 | |
| 196 | this.update(source); |
| 197 | } |
| 198 | |
| 199 | private update(source: any): void { |
| 200 | this.clearSource(); |