• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Button graphic layover

    User help
    2
    4
    1.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sbaik
      last edited by

      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.

      0_1529335314076_b697a880-7836-47a6-99f1-51dd58ebe899-image.png

       <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>
      
      1 Reply Last reply Reply Quote 0
      • Jared WiltshireJ
        Jared Wiltshire
        last edited by

        @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.

        Developer at Radix IoT

        S 1 Reply Last reply Reply Quote 0
        • S
          sbaik @Jared Wiltshire
          last edited by

          @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

          Jared WiltshireJ 1 Reply Last reply Reply Quote 0
          • Jared WiltshireJ
            Jared Wiltshire @sbaik
            last edited by

            @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.

            Developer at Radix IoT

            1 Reply Last reply Reply Quote 0
            • First post
              Last post