Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
BindingToComboBox
#viewmodel file (my_view_model.rb, in /viewmodels)
class MyViewModel < FreightViewModel
def my_list
return ['my', 'list', 'of', 'strings']
end
end
#bindings file (my_view.bnd.yml, in /views), assuming here that the combo is called 'mycombo'
mycombo:
property : elements
path : my_list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.