UNPKG

@domoinc/domo-select

Version:

DomoSelect - Domo Widget

82 lines (53 loc) 1.24 kB
## Configuration Options #### chartName Type: `string` Default: `"Dropdown"` Name of chart for Reporting. #### domoScroll Type: `boolean` Default: `false` Turn on domo Scroll? #### height Type: `string` Default: `"200px"` Max Height of the dropdown #### isOnMobile Type: `boolean` Default: `false` If true, it signals to the widget that it is running on a mobile device. Should be called before draw and then NEVER changed. #### listIconFunction Type: `function` Default: `"function () {}"` Function that runs on every list element #### listIconPadding Type: `number` Default: `0` Padding for the list icons #### selectedIndex Type: `number` Default: `0` Selected Index #### selectedValue Type: `string` Default: `"ConfigValue"` selectedValue #### shouldValidate Type: `boolean` Default: `true` Flag for turning off data validation #### size Type: `string` Default: `"medium"` Size of the dropdown. #### updateSizeableConfigs Type: `boolean` Default: `true` Flag for turning off the mimic of illustrator's scale functionality #### visible Type: `boolean` Default: `true` Show/Hide the dropdown. #### width Type: `string` Default: `"250px"` Width of the dropdown