src/dual-listbox.js
/**
     * Update the elements in the listbox;
     */
Update the elements in the listbox.
Update the elements in the listbox .
_updateListbox(list, elements) {
        while (list.firstChild) {
            list.removeChild(list.firstChild);
        }
        for (let i = 0; i < elements.length; i++) {
            let listItem = elements[i];
            list.appendChild(listItem);
        }
    }
_updateListbox ( list , elements ) { while ( list . firstChild ) { list . removeChild ( list . firstChild ) ; } for ( let i = 0 ; i < elements . length ; i ++ ) { let listItem = elements [ i ] ; list . appendChild ( listItem ) ; } }
Update the elements in the listbox;
Update the elements in the listbox ;