W3cubDocs

/Angular 7

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