Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
  ..
  ToggleItem
  ToggleList
  README.md
  index.ts
  typings.ts
Size: Mime:

ToggleList

RadioGroup & Toggle, simplified

TODO !!!!!!!

  • MAKE ACCESSIBLE, CLICKING WRAPPER LABEL SHOULD TRIGGER ONCLICK...

Notes

right now:

  • item
  • list

radio group: select dropdown: many others - they are 1 2 punches, of 1 2 punches (2 parts, that have 2 parts)

radioGroupState.list = ... radioGroupState.decorateItem = (item) => { if (item.onClick) { return item } else { item.onClick = (event: Event, props: StandardRadioItemProps, itemState: StandardRadioItemProps) { radioGroupState.unselectList(radioGroupState.list) selectItem(itemState) } return item } }