@serenity-is/corelib / addEmptyOption

Function: addEmptyOption()

addEmptyOption(select): void

Defined in: src/compat/html-compat.ts:7

Adds an empty option to the select.

Parameters

select

the select element

HTMLSelectElement | ArrayLike<HTMLElement>

Returns

void