Multiselect.setOptionRenderer method
Multiselect › setOptionRenderer
Unofficial
Set the option renderer of the multiselect.Signature:
setOptionRenderer(optionRenderer: (value: string, ctx: MultiselectOptionContextMenuContext) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| optionRenderer | (value: string, ctx: MultiselectOptionContextMenuContext) => void | the function to render the options. |
Returns: this — the multiselect.