*REFERENCE
Export a viewModel into a template's references scope.
Deprecated 3.10
This syntax is deprecated in favor of this:to="scope.vars.refProp"
*ref-prop
A shorthand for exporting an element’s viewModel to the reference scope.
Parameters
- ref-prop
{String}
:The name of the property to set in the template's 'references' scope.
Use
Export a view model to the references scope by adding an attribute with the hyphenated name of the reference scope property:
<year-selector *year-selector />