function handleGroupSelect(evt)
    {
        delegateSelect(evt);
        const groupName = evt.target.dataset.value;
        const modelInfo = visualizers[getCurrentActive()];
        for (const group of modelInfo.animation.groups) {
            if (group.name == groupName) {
                transparency.value = group.transparency;
                transVal.value = parseFloat(group.transparency);
                colorWell.parentNode.querySelector('label').textContent = group.color;
                colorWell.value = group.color;
            }
        }
    }
/* ------------------------------------------------------------------------
     * handleGroupSelect
     * ------------------------------------------------------------------------
     * param evt - Javascript evt
     *
     * Handler for switching the selected group of the currently active model.
     */


param evt - Javascript evt

Handler for switching the selected group of the currently active model.
param evt - Javascript evt Handler for switching the selected group of the currently active model .
function handleGroupSelect(evt)
    {
        delegateSelect(evt);
        const groupName = evt.target.dataset.value;
        const modelInfo = visualizers[getCurrentActive()];
        for (const group of modelInfo.animation.groups) {
            if (group.name == groupName) {
                transparency.value = group.transparency;
                transVal.value = parseFloat(group.transparency);
                colorWell.parentNode.querySelector('label').textContent = group.color;
                colorWell.value = group.color;
            }
        }
    }
function handleGroupSelect ( evt ) { delegateSelect ( evt ) ; const groupName = evt . target . dataset . value ; const modelInfo = visualizers [ getCurrentActive ( ) ] ; for ( const group of modelInfo . animation . groups ) { if ( group . name == groupName ) { transparency . value = group . transparency ; transVal . value = parseFloat ( group . transparency ) ; colorWell . parentNode . querySelector ( 'label' ) . textContent = group . color ; colorWell . value = group . color ; } } }
handleGroupSelect
handleGroupSelect