-
Notifications
You must be signed in to change notification settings - Fork 6.8k
refactor: convert dash-case md-autosize to camelCase #2339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
LGTM, thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@EladBezalel I also just realized that the properties should also be renamed to |
a353dec
to
3db684a
Compare
Yeah, that would be good; we'd still need to support the old names for one release as well (via getter / setter) |
f253d2c
to
c7d9792
Compare
…sizeMaxRows - left minRows and maxRows to not break old versions
c7d9792
to
32fef12
Compare
updated, @jelbourn please review |
return this.minRows; | ||
} | ||
|
||
@Input() set mdAutosizeMinRows(value: number) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Input()
should go on the getter
. We should add that to the coding standards...
return this.maxRows; | ||
} | ||
|
||
@Input() set mdAutosizeMaxRows(value: number) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The unit test needs to be updated as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you mean adding another part that checks that the old and the new api works?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test component in the spec still has minRows
and maxRows
. It should use the updated API.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
No description provided.