Yes, it is possible to do aliasing for inputs and outputs in two ways.
-
Aliasing in metadata: The inputs and outputs in the metadata aliased using a colon-delimited (
string with the directive property name on the left and the public alias on the right. i.e. It will be in the format of propertyName:alias.
- Aliasing with @Input()/@Output() decorator: The alias can be specified for the property name by passing the alias name to the @Input()/@Output() decorator.i.e. It will be in the form of @Input(alias) or @Output(alias).