Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// console.log( oui.controls.ColorPicker )
// let gui = oui.datoui(null, _=> console.log( _ ))
// let a = { test: {r:1, g:0.5, b:0}}
// let b = {test:10}
// gui.add( a, 'test', { control } )
// gui.add( b, 'test', {options:[10, 20, 30, 40], control:oui.controls.ComboBox} )
// var f1 = gui.addFolder({label:'test', open:true})
// f1.add( a, 'test', { control } )
// var f2 = gui.addFolder({ label: 'test2' })
// f2.add( b, 'test' )
let d = document.createElement('div')
d.id='IN-HERE'
let p = oui.panel({domElement:d})
window.a = {
n:10
}
p(a)
//
// p({
// n:5,
// s:'sdfsd'
// })
// let foo = {a: 0.5}
// let gui = oui.datoui()
// let fooFolder = gui.addFolder({label: 'foo'})
// fooFolder.add(foo, 'a', {min: 0, max: 1})