Different Techniques for Toggle Buttons in YIPI

Last Updated 2 years ago

In YIPI, there are a variety of ways to accomplish the same thing, depending on your design. A good example is controlling a device with a command that toggles. For instance:

  • power on/off
  • mute/unmute
  • lights on/off
  • etc.

In some projects, you may want to use a single button that visually toggles (and sends 2 discreet commands. Other times you might want discreet on/off buttons.

In the example below, we demonstrate different techniques to send a toggle command using different button components. Included in the file are all the YIPI and WOWE project files to show how this works.

File.php

Originally posted 4/19/2018