MCPcopy Create free account
hub / github.com/aurelia/binding / connect

Method connect

src/binding-expression.js:133–142  ·  view source on GitHub ↗
(evaluate)

Source from the content-addressed store, hash-verified

131 }
132
133 connect(evaluate) {
134 if (!this.isBound) {
135 return;
136 }
137 if (evaluate) {
138 let value = this.sourceExpression.evaluate(this.source, this.lookupFunctions);
139 this.updateTarget(value);
140 }
141 this.sourceExpression.connect(this, this.source);
142 }
143}

Callers 2

callMethod · 0.45
bindMethod · 0.45

Calls 2

updateTargetMethod · 0.95
evaluateMethod · 0.45

Tested by

no test coverage detected