|
Nui
|
#include <select.hpp>

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