Minimum Steps Required for Use
|
What It Looks Like
|
1. Drag and drop a Toggle widget onto the canvas.
2. Bind the Value property or Click event of the Toggle widget to another widget or service. For this example, we’ve bound the Value property of the Toggle widget to the image below it, and selected Visible on the Select Binding Target window. This will show or hide the image when the toggle is pressed.
|
|
Keep in mind that it’s best to give your classes unique names so they do not conflict with other classes or OOTB properties.
|
CSS Example
|
What It Looks Like
|
.ptc-toggle {
border-width: 5px; border-style: solid; border-radius: 25px; background: rgb(200, 201, 199); font-size: 20px; font-family: Arial; color: black; } |