decorator
Decorator that marks a class field as an output property and supplies configuration metadata. The DOM property bound to the output property is automatically updated during change detection.
Option | Description |
---|---|
bindingPropertyName? |
The name of the DOM property to which the output property is bound. |
bindingPropertyName |
---|
The name of the DOM property to which the output property is bound. |
|
You can supply an optional name to use in templates when the component is instantiated, that maps to the name of the bound property. By default, the original name of the bound property is used for output binding.
See Input
decorator for an example of providing a binding name.
© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/api/core/Output