You can mix and match. Anything that implements ISelectable should be considered a “toggle button”.
> On Dec 6, 2017, at 4:37 PM, Peter Ent <p...@adobe.com.INVALID> wrote: > > Ha. Just sent a reply on the other thread with pretty much the same thing > that you did. Might be nice addition for Express. Just in-line the things > you want to toggle. Would it work with a ToggleButton, a CheckBox, and a > couple of RadioButtons or do all of the children have to be ToggleButtons? > > ‹peter > > On 12/6/17, 7:37 AM, "Harbs" <harbs.li...@gmail.com> wrote: > >> OK. >> >> I¹m done with the SingleSelectionContainerBead and committed it. >> >> Here¹s a sample of how to use it: >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa >> che.org%2FKG0k&data=02%7C01%7Cpent%40adobe.com%7C92de86e3967441568cd908d53 >> ca61e1f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636481606522932424&sd >> ata=A2WCO0Vk3X7fYeOK06D6IvY7JnKGOADK4R0laAi2BKQ%3D&reserved=0 >> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.ap >> ache.org%2FKG0k&data=02%7C01%7Cpent%40adobe.com%7C92de86e3967441568cd908d5 >> 3ca61e1f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636481606523088680&s >> data=k8AReDmUvQ9Hr2myYtna0tiPhTJGCxUj34ek18KkYj0%3D&reserved=0> >> >> It¹s intelligent enough to allow adding non-ISelectable components to a >> container and the index and selection management will only apply to the >> ISelectable children. That should give a lot of flexibility in how it can >> be used. >> >> I have not created a ³ToggleButtonBar² component. I¹m not sure if there¹s >> a need for one in Basic, although it might be nice to add one to Express? >> >> I wasn¹t sure if events should be dispatched from the host component. For >> now, the bead is dispatching the events directly. >> >> Comments welcomeŠ >> >> Harbs >> >>> On Dec 6, 2017, at 10:10 AM, Alex Harui <aha...@adobe.com.INVALID> >>> wrote: >>> >>> Of course I could be wrong, but I'm packing it in for tonight, so I'll >>> find out in my morning. >> >