components icon indicating copy to clipboard operation
components copied to clipboard

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

Open bsteffl opened this issue 9 years ago • 3 comments

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

bsteffl avatar Jan 26 '17 18:01 bsteffl

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 avatar Jan 26 '17 18:01 devversion

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

jelbourn avatar Jan 26 '17 19:01 jelbourn

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.