Skip to content

Commit

Permalink
chore: use full word for getter
Browse files Browse the repository at this point in the history
Signed-off-by: Akshat Patel <akshat@live.ca>
  • Loading branch information
Akshat55 committed Nov 6, 2024
1 parent fad43ab commit 2bf9665
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/input/input.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class TextInput {
return this.theme === "light";
}

@HostBinding("attr.data-invalid") get getInvalidAttr() {
@HostBinding("attr.data-invalid") get getInvalidAttribute() {
return this.invalid ? true : undefined;
}

Expand Down
2 changes: 1 addition & 1 deletion src/input/password.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class PasswordInput implements AfterViewInit {
*/
@Input() size: "sm" | "md" | "lg" = "md";

@HostBinding("attr.data-invalid") get getInvalidAttr() {
@HostBinding("attr.data-invalid") get getInvalidAttribute() {
return this.invalid ? true : undefined;
}

Expand Down

0 comments on commit 2bf9665

Please sign in to comment.