The question I asked yesterday has been resolved.
Again: Thanks to all who replied.
Now I am getting greedy with what I am wanting buttons (template
node) to do.
This is from the template
node now:
<md-button class="vibrate filled touched bigfont rounded" style="color: red; background-color:#000000" ng-click="send({payload: 'dummy_payload'})">
<i class="material-icons"> pause / play_arrow</i>
</md-button>
Really nice.
I get a button looking like this:
Which is great - learning from yesterday's question.
(I'll be honest here. I do not really understand how I got this working.
I used this site:
buttons
to help me get here. Now I'm stuck again)
There are 3 things in that button.
1 - the pause icon.
2 - the /
.
3 - the play icon.
Now, I'm wanting to be greedy and set the colours from outside.
Not the colour for all, but individual colours.
Why?
This is a two function button. (Kinda obvious)
Press one time it pauses playback.
Press it another time and it pauses playback.
I'm wanting the colour of the icons to reflect the mode.
Help.
P.S.
yes, I am out of my depth.
I don't understand it completely.
Looking at the site I mentioned above it is for a whole other set of buttons as I can see/make. But it is suffice to help me kind of get the structure. KINDA!
Yes, "RTFM" etc. Doesn't work for me. Don't know why.
I'm looking. It doesn't make sense.
Thus I am asking.