I’m very new to Angular (as in no experience) so have been getting by with adapting other examples, so apologies if this is actually straight forward.
One thing I struggle with on my tablet is increasing and decreasing the volume. I just kind of stab at the screen at the rough place that I want the volume to be. What would be preferred is a Vol+ and Vol- button.
I’ve managed to get the following (volumeStep is a number set to 5 in my setup) which I can successfully change a volume of 5 to 0 with the minus button, then back to 5 with the plus button (hooray I thought!) and then to 55 with another click of the plus button (damn).
So itemValue + configValue is a string concatenation. If I can do an actual addition that would be great, but I can’t quite work out how and google is giving me the option to create Angular methods, which I’d rather avoid if possible.
So can I do basic math in HabPanel?