ComboBoxWidget
ClassClass in the Lens Scripting API.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
TypeScript only
Index
Extends
Constructors
Constructor
new ComboBoxWidget(
items?):ComboBoxWidget
Parameters
| Parameter | Type |
|---|---|
items? | ComboBoxItem[] |
Returns
ComboBoxWidget
Overrides
Properties
items
protecteditems:ComboBoxItem[]
Methods
addItem()
addItem(
label,value?):this
Parameters
| Parameter | Type |
|---|---|
label | string |
value? | string | number |
Returns
this
toString()
toString():
string
Returns
string