Material: Change position of md-switch to be on the right side?

Created on 12 Jul 2016  路  8Comments  路  Source: angular/material

Is there a way to change the default md-switch position on the left of the text/label to be on the right side instead?

Pull Request fixed enhancement

Most helpful comment

Use following css for md-check element

direction: rtl;
float: left;

All 8 comments

@Lordnoname previously submitted a PR, which adds this functionality (#8205)

Hi @DevVersion how do I use that attribute, I added md-invert to the md-switch but did nothing.

@jsantana90 It's not available (yet). The PR was closed due to our deprecation efforts.

@DevVersion - what is the PR # ?

@ThomasBurleson The associated PR is #8205

Use following css for md-check element

direction: rtl;
float: left;

Would be great to support this via class="md-secondary"

This was implemented in 1.1.2.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

kasajian picture kasajian  路  3Comments

epelc picture epelc  路  3Comments

rdantonio picture rdantonio  路  3Comments

WebTechnolog picture WebTechnolog  路  3Comments