parent
5885cf5ad8
commit
fd4dbcb0c7
|
@ -228,6 +228,7 @@ Consider the following directive:
|
||||||
class SubmitButton {
|
class SubmitButton {
|
||||||
private _disabled: boolean;
|
private _disabled: boolean;
|
||||||
|
|
||||||
|
@Input()
|
||||||
get disabled(): boolean {
|
get disabled(): boolean {
|
||||||
return this._disabled;
|
return this._disabled;
|
||||||
}
|
}
|
||||||
|
@ -269,6 +270,7 @@ As a workaround for this problem, Angular supports checking a wider, more permis
|
||||||
class SubmitButton {
|
class SubmitButton {
|
||||||
private _disabled: boolean;
|
private _disabled: boolean;
|
||||||
|
|
||||||
|
@Input()
|
||||||
get disabled(): boolean {
|
get disabled(): boolean {
|
||||||
return this._disabled;
|
return this._disabled;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue