Is it possible to have a bindable toggle that changes the css between two components? For example let’s say we have a pin and an unpin popup with a toggle. that looks like:
{
view: "toggle",
type: "iconButton",
id: "pin",
offIcon: "pause",
onIcon: "play",
offLabel: "Pause",
onLabel: "Play"
}
and the other is the same structure but id is “unpin”. If I were to include a css tag in the data object for both objects, could I make it some bindable variable so that when you click the toggle button on either component, that would apply the css class to both components?