*REFERENCE
Export a viewModel into a template's references scope.
Deprecated 4.0
This syntax is deprecated in favor of this:to="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 hypenated name of the reference scope property:
<year-selector *year-selector />