ElementCreateDropdown
Callable
Parameters
id: string
The name of the select item. The outer div will get this name, for positioning. The select tag will get the name ID+"-select"
Options: readonly string[]
The list of options for the current select statement
optionalClickEventListener: (this: HTMLSelectElement, event: Event) => any
An event listener to be called, when the value of the drop down box changes
Returns HTMLDivElement
- The created element
Creates a dropdown element and adjusts it to the BC look and feel. In the HTML Code this will look like this: