Chip QML Type
Chips represent complex entities in small blocks, such as a contact. More...
Import Statement: | import Fluid.Controls 1.1 |
Since: | Fluid.Controls 1.1 |
Properties
- delegate : Component
- deletable : bool
- expandable : bool
- model : model
- selectedItem : Component
Signals
- void deleted()
Detailed Description
For more information you can read the Material Design guidelines.
Property Documentation
Expandable chips show a popup with a list view when clicked.
The delegate provides a template defining each item instantiated by the list view.
By default the delegate is a Fluid.Controls::ListItem.
See also Fluid.Controls::Chip::expandable, Fluid.Controls::Chip::model, and Fluid.Controls::Chip::selectedItem.
This property holds whether this chip can expand to show more information or options.
See also Fluid.Controls::Chip::model, Fluid.Controls::Chip::delegate, and Fluid.Controls::Chip::selectedItem.
Expandable chips show a popup with a list view when clicked.
This property holds the model providing data for said list view.
The following roles are expected to be present:
- label - Description of the option
- value - Actual value of the option
- imageSource - URL with the image source for the option
See also Fluid.Controls::Chip::expandable, Fluid.Controls::Chip::delegate, and Fluid.Controls::Chip::selectedItem.
Expandable chips show a popup with a list view when clicked.
This property holds the currently selected item.
By default the delegate is a Fluid.Controls::ListItem and the selected item contains the following properties:
- string label - Description of the option
- string value - Actual value of the option
- url imageSource - URL with the image source for the option
See also Fluid.Controls::Chip::expandable, Fluid.Controls::Chip::model, and Fluid.Controls::Chip::delegate.