On this page
Input
decorator
Option | Description |
---|---|
bindingPropertyName |
Decorator that marks a class field as an input property and supplies configuration metadata. Declares a data-bound input property, which Angular automatically updates during change detection. |
Options
bindingPropertyName
|
---|
Decorator that marks a class field as an input property and supplies configuration metadata. Declares a data-bound input property, which Angular automatically updates during change detection. |
|
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 input binding. The following example creates a component with two input properties, one of which is given a special binding name.
|
© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v6.angular.io/api/core/Input