-
Notifications
You must be signed in to change notification settings - Fork 6.8k
feat(material-experimental/mdc-slider): WIP implement the basics for … #21165
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
4cfcec2
to
fcfccf4
Compare
fcfccf4
to
2e9cc67
Compare
I haven't started working on making this backwards compatible yet. Also, this is a pretty massive change so I'm happy to stretch this into multiple commits or PRs or whatever ya'll prefer |
<h1>Default Slider</h1> | ||
Label <mat-slider #slidey aria-label="Basic slider"></mat-slider> | ||
{{slidey.value}} | ||
<p>Continuous slider</p> |
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.
Usually we leave the mdc demo pretty much the same as the non-mdc demo. That way we can verify that all the same usages still work. Is there a reason you changed it so much here?
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.
Yeah, I wanted to test each of the different ways the slider could be used. I'll revert this once I'm done testing. For now I'll add a todo to remember to do so
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.
I did a quick pass through for a first round of comments
'[min]': 'min', | ||
'[max]': 'max', | ||
'[step]': 'step', | ||
'[attr.value]': 'value', |
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.
Does [value]
not work? (if no, we should have a comment that explains why)
registerWindowEventHandler: () => {}, | ||
deregisterWindowEventHandler: () => {}, | ||
removeTrackActiveStyleProperty: (_propertyName: string) => {}, | ||
hasClass: (_className: string) => { |
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.
Can you extract this adapter out into a standalone class? See this PR for a reference #19980
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. |
…mdc slider