How to swap label and radio button position Material AngularJS -


material angular lays out radio boxes this:

o apple o banana 

i want in reverse

apple  o banana o 

the md-radio-button has 2 compenents,

div class="md-container",

and

div class="md-label".

the container holds button, , label holds label.

i can't seem swap positions of these divs. when try float md-container right, goes outside of md-radio-button.

how can swap 2 locations, either using float on sub-components without breaking outside of parent radio button, or perhaps other way?

thank you

you can

 <md-content>      <span layout="row" layout-align="center center">          <span>apple</span>          <md-radio-button value="1" aria-label="apple"> </md-radio-button>      </span> </md-content> 

Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -