How to use the nexusui.Dial function in nexusui

To help you get started, we’ve selected a few nexusui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github SonyCSLParis / NONOTO / src / renderer / lfo.ts View on Github external
'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)
}
github SonyCSLParis / NONOTO / src / renderer / lfo.ts View on Github external
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)
}