Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'state': false
})
let useLFO: boolean = false;
lfoToggle.on('change', (toggleOn) => {
useLFO = toggleOn;
});
LFOToggleElem.style.setProperty('width', '100%');
LFOToggleElem.style.setProperty('padding-top', '30px');
let LFONameElem = document.createElement('div')
LFONameElem.textContent = 'Improvizer'
LFOToggleElem.appendChild(LFONameElem)
LFONameElem.style.setProperty('padding-top', '25px');
let lfoRateDial = new Nexus.Dial('#LFO-rate', {
'interaction': 'vertical'
})
let LFORateNameElem = document.createElement('div')
LFORateNameElem.textContent = 'Rate'
LFORateElem.appendChild(LFORateNameElem)
let lfoValueDial = new Nexus.Dial('#LFO-value', {
'interaction': 'vertical'
})
let LFOValueNameElem = document.createElement('div')
LFOValueNameElem.textContent = 'Value'
LFOValueElem.appendChild(LFOValueNameElem)
}
LFOToggleElem.style.setProperty('width', '100%');
LFOToggleElem.style.setProperty('padding-top', '30px');
let LFONameElem = document.createElement('div')
LFONameElem.textContent = 'Improvizer'
LFOToggleElem.appendChild(LFONameElem)
LFONameElem.style.setProperty('padding-top', '25px');
let lfoRateDial = new Nexus.Dial('#LFO-rate', {
'interaction': 'vertical'
})
let LFORateNameElem = document.createElement('div')
LFORateNameElem.textContent = 'Rate'
LFORateElem.appendChild(LFORateNameElem)
let lfoValueDial = new Nexus.Dial('#LFO-value', {
'interaction': 'vertical'
})
let LFOValueNameElem = document.createElement('div')
LFOValueNameElem.textContent = 'Value'
LFOValueElem.appendChild(LFOValueNameElem)
}