Nui
|
#include <select.hpp>
Public Attributes | |
Observed< ContainerT< SelectOptions< ValueT > > > & | model |
A list of all the options: More... | |
int | preSelectedIndex = -1 |
For pre selecting an element. More... | |
std::function< void(long long, SelectOptions< ValueT > const &)> | onSelect = {} |
Called when an option is selected. More... | |
std::vector< Attribute > | selectAttributes = {} |
Attributes to be forwarded to the select element. More... | |
Observed<ContainerT<SelectOptions<ValueT> > >& Nui::Components::SelectArgs< ContainerT, ValueT >::model |
A list of all the options:
std::function<void(long long, SelectOptions<ValueT> const&)> Nui::Components::SelectArgs< ContainerT, ValueT >::onSelect = {} |
Called when an option is selected.
int Nui::Components::SelectArgs< ContainerT, ValueT >::preSelectedIndex = -1 |
For pre selecting an element.
std::vector<Attribute> Nui::Components::SelectArgs< ContainerT, ValueT >::selectAttributes = {} |
Attributes to be forwarded to the select element.