* Set the binding scope * @param scope - Binding scope
(scope: BindingScope)
| 694 | * @param scope - Binding scope |
| 695 | */ |
| 696 | inScope(scope: BindingScope): this { |
| 697 | if (this._scope !== scope) this._clearCache(); |
| 698 | this._scope = scope; |
| 699 | this.emitChangedEvent('scope'); |
| 700 | return this; |
| 701 | } |
| 702 | |
| 703 | /** |
| 704 | * Apply default scope to the binding. It only changes the scope if it's not |