Components
Dual list
Tag: <we-dual-list>
Standard module: we_dual_list
Moves selections between available and selected lists. The caller supplies options and selected values.
Features
- Displays available and selected choices.
- Emits
changewhen selected values change.
Public parameters
| JavaScript property | HTML attribute | Type | Initial value | Purpose |
|---|---|---|---|---|
label |
label |
String | '' |
Text label shown to the user. |
helpText |
help-text |
String | '' |
Supporting text shown with the control. |
disabled |
disabled |
Boolean | false |
Whether interaction is disabled. |
mode |
mode |
String | 'static' |
List mode; inspect the component source before using values beyond static. |
options |
options |
Array | — |
Available choices supplied by the caller. |
selectedValues |
selected-values |
Array | — |
Currently selected choice values. |
Public methods
No @apiFunction methods are declared.
Events
changeis emitted as a DOM custom event.
Source: working/environment_modules/standard/we_dual_list/WebComponent/WeDualList.js.