Constructor
new ColorScaleDropdown(target, options)
options = {
items: object (cobject with colorScale)
}
Parameters:
Name | Type | Description |
---|---|---|
target |
HTMLElement | string | |
options |
object |
- Source:
Methods
addItem(key, item)
Add a color scale to the dropdown
Parameters:
Name | Type | Description |
---|---|---|
key |
string | |
item |
Array.<object> |
- Source: