Connect with:
About Me
Alessandro Annini
I'm a freelance developer currently working at Leaff.it/ I really love famo.us framework and its amazing potential and if you're like me, and you want the web to win, please share some snippet of code for the community and grow faster with us
Categories
Meta
Famo.us Code | RadioItem component
485
post-template-default,single,single-post,postid-485,single-format-standard,ajax_updown_fade,page_not_loaded,,qode-theme-ver-6.2.1

RadioItem component

07 Jul RadioItem component

Useful to create Tabs or Options.

Initialize the RadioItemView with an (empty) array and a surface. The RadioItemView adds itself to the array – you can use this Array to “sequenceFrom” in a Layout.

Use item.select() to select it – it emits a “select” event (with the index as data).

See demo & get code here: