(Sorry folks, but I am stuck.)
NR 2.2.0
Dashboard: 3.1.6
I have kind of been down this path before, but things have thrown a curve ball at me and I am wanting to know if it is possible.
This is what I have now in a function
node to create a message to go to a text
node.
msg = {payload: '<font color = "lime" i class="fa fa-cog fa-spin fa-2x "></i>'};
Then there is
msg = {payload: '<font color = "cyan" i class="fa fa-cog fa-2x "></i>'};
as the second option.
What I didn't consider is the third option:
msg = {payload: '<font color = "black" i class="fa fa-ban fa-2x "></i>'};
So I am wanting to get that working but with the newer mdi
icons.
So this is my starting point:
msg.payload = '<iconify-mdi:fan 46px fa-spin>';
But it doesn't show/work.
So before wasting more time I guess I'd better check if it is possible at all.
(Ok, there is a bit of chopping and changing in the examples. The colour attributes are wanted, but until I can get the basics working I am not going to worry about it as if it can't be done, it doesn't matter anyway.)
After more study, I have even got the payload
to be this:
msg.payload = '<class = "iconify-mdi:fan 46px fa-spin">';
Still nothing.