Attribute
decorator
Parameter decorator for a directive constructor that designates a host-element attribute whose value is injected as a constant string literal.
API
Usage Notes
@Attribute ({})
attributeName
string
The name of the attribute whose value can be injected.
Jump to details