docs: decorate input properties with @Input (#42128)

PR Close #42128
This commit is contained in:
Lars Gyrup Brink Nielsen
2021-05-17 14:01:18 +02:00
committed by atscott
parent 5885cf5ad8
commit fd4dbcb0c7
+2
View File
@@ -228,6 +228,7 @@ Consider the following directive:
class SubmitButton {
private _disabled: boolean;
@Input()
get disabled(): boolean {
return this._disabled;
}
@@ -269,6 +270,7 @@ As a workaround for this problem, Angular supports checking a wider, more permis
class SubmitButton {
private _disabled: boolean;
@Input()
get disabled(): boolean {
return this._disabled;
}