Hi All,
I am trying to control the valve in my IIoT project. I am working on it to control via by adding ng-class
= {"green2_on":itemState('pb_green2') == 'ON', "green2_off":itemState('pb_green2') =='OFF'}
and ng-click
= sendCmd('pb_green2', (itemState('pb_green2') == 'ON') ? 'OFF' : 'ON')
in my svg image and I have embedded code like below for valve ,
I have added corresponding code in .css file like this,.
.green_on {
fill: #4fc497 !important;
}
.green2_off {
fill: #c83737 !important;
}
Issue:
Cursor is not changing to the hand
symbol when I hover on the valve image.