Button graphic layover
-
I have gotten by using the Binary/multistate image component with its "toggle on click" function to create various buttons and knobs.
I am lost on trying to do the same with the momentary button, since it has to be used with the ma-button component. The code is listed below as well as the circular button I am wanting to use instead of the rectangular default ma-button image.Thanks in advance.
<ma-get-point-value point="point" point-xid="test1"></ma-get-point-value> <ma-button id="a6e0f397-e7d7-4142-884c-b2a98c07a1c4" raised="true" label="START" ma-momentary="" ma-momentary-start="point.setValue(true)" ma-momentary-end="point.setValue(false)" style="position: absolute; left: 529.981px; top: 465.039px; width: 103.958px; height: 49.9306px;"></ma-button>
-
@sbaik It doesn't have to be used in conjunction with a
<ma-button>
you can use it on any element/component. Try it out. -
@jared-wiltshire said in Button graphic layover:
@sbaik It doesn't have to be used in conjunction with a
<ma-button>
you can use it on any element/component. Try it out.I must have tried to use it on other components before it was added as a directive. It works perfectly now. Thanks
-
@sbaik said in Button graphic layover:
@jared-wiltshire said in Button graphic layover:
@sbaik It doesn't have to be used in conjunction with a
<ma-button>
you can use it on any element/component. Try it out.I must have tried to use it on other components before it was added as a directive. It works perfectly now. Thanks
No problems.