Prepares a binding. This is called immediately after parsing a mustache
token with {{ path }}
in the context of the node
and the property named
name
. This should return a function that will be passed the actual
node and model, and either returns null or an object with a value
property. This allows the syntax to reinterpret the model for each binding.
prepareBinding(String path, name, node) {
if (_hasEventPrefix(name)) {
return prepareEventBinding(path, name, node);
}
return _delegate.prepareBinding(path, name, node);
}