These are chat archives for angular/material

4th
May 2016
Yuval
@ValYouW
May 04 2016 07:07
Hi, is there an integral way to set "hover" color on an md-option? (ideally the "accent" color) thx.
rash
@reshu21
May 04 2016 09:58
hi i m rash new joiner..i want to learn angular js..
Shany G
@shanytc
May 04 2016 10:39
this is not the place @reshu21
jmls
@jmls
May 04 2016 11:34
I have a div like this
<div layout="row" flex="">
        <md-button class="md-icon-button" aria-label="More"><md-icon>remove_circle_outline</md-icon></md-button>
</div>
how can I make the button appear on the right without adding any extra elements to the div ?
I tried "float:right" but it seems to have no effect
Shany G
@shanytc
May 04 2016 11:40
layout-align="end center"
on your row
jmls
@jmls
May 04 2016 11:49
isn't that for all children ? I may have a row with the button and 0..n elements. I wanted a scenario for no elements because if I have 1 element and the button, I don't want all children pushed right
Shany G
@shanytc
May 04 2016 11:49
it is. so just make a new div inside with a row and apply to that only
jmls
@jmls
May 04 2016 11:51
doh!
thks
Shany G
@shanytc
May 04 2016 11:52
:)
jmls
@jmls
May 04 2016 11:55
um, nope. still can't get it to work ;)
Shany G
@shanytc
May 04 2016 11:56
well, how about, setting the row with position:relative; and on the button set position:absolute, right:0
jmls
@jmls
May 04 2016 11:57
ok, ta.
Shany G
@shanytc
May 04 2016 12:00
i don't have a test enviorment here so i can't test it on the fly :)
if you have a demo up i can take a look
via inspect element that is
emna
@emna24
May 04 2016 14:16
Hi all i have a problem while calling a function in protractor
blob
blob
here my script
jmls
@jmls
May 04 2016 21:48
is it possible to have a label for a radio-group ? for example, I have options "net 20" and "net 10" but would like to show a "terms" label for the group