Attribute

From Get docs
< @angular/coreAngular/docs/7/api/core/attribute


Attribute

decorator

Attribute decorator and metadata.

Option Description
attributeName The name of the attribute to be injected into the constructor.

Options

The name of the attribute to be injected into the constructor.

attributeName: string


© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/core/Attribute