Skip to content
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

Proposal: Allow md-slide-toggle to be aligned start or end #2820

Closed
bsteffl opened this issue Jan 26, 2017 · 3 comments · Fixed by #2836
Closed

Proposal: Allow md-slide-toggle to be aligned start or end #2820

bsteffl opened this issue Jan 26, 2017 · 3 comments · Fixed by #2836
Assignees
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix P5 The team acknowledges the request but does not plan to address it, it remains open for discussion

Comments

@bsteffl
Copy link

bsteffl commented Jan 26, 2017

Proposal:

Allow md-slide-toggle to be aligned start or end.

What is the expected behavior?

To be able to allow the toggle element to come after the label visually.
image

What is the current behavior?

Currently the toggle element only positions on the left of the label.
image

What is the use-case or motivation for changing an existing behavior?

Enhancement to existing component to allow flexibility of display easily.

Which versions of Angular, Material, OS, browsers are affected?

Version: 2.0.0-beta.1

@devversion
Copy link
Member

devversion commented Jan 26, 2017

I think that's a pretty good idea. We should just remember to respect the current direction (RTL | LTR). Do you think this is something useful @jelbourn ?

@devversion devversion self-assigned this Jan 26, 2017
@jelbourn
Copy link
Member

@devversion yeah, it should be the same API / behavior as md-checkbox.

@jelbourn jelbourn added P5 The team acknowledges the request but does not plan to address it, it remains open for discussion feature This issue represents a new feature or feature request rather than a bug or bug fix labels Jan 26, 2017
devversion added a commit to devversion/material2 that referenced this issue Jan 27, 2017
* Adds an option to change the position of the slide-toggle's label.

Closes angular#2820
devversion added a commit to devversion/material2 that referenced this issue Jan 27, 2017
* Adds an option to change the position of the slide-toggle's label.

Closes angular#2820
@kara kara closed this as completed in #2836 Feb 1, 2017
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix P5 The team acknowledges the request but does not plan to address it, it remains open for discussion
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants