export class InputMetadata
export class InputMetadata
exported from angular2/core defined in angular2/src/core/metadata/directives.ts (line 957)
Declares a data-bound input property.
Angular automatically updates data-bound properties during change detection.
InputMetadata
takes an optional parameter that specifies the name
used when instantiating a component in the template. When not provided,
the name of the decorated property is used.
Example
The following example creates a component with two input properties.
Constructor
constructor(bindingPropertyName?: string)
constructor(bindingPropertyName?: string)
Not Yet Documented
Members
bindingPropertyName : string
bindingPropertyName : string
Name used when instantiating a component in the temlate.