Make label and colorpicker types work
This commit is contained in:
parent
7857c83ea1
commit
18c7c3ece8
8 changed files with 64 additions and 27 deletions
|
@ -31,6 +31,14 @@ exports.load = (appUrl) => {
|
|||
click: () => {
|
||||
console.log('Hello World Clicked')
|
||||
}
|
||||
}),
|
||||
new (TouchBar.Label)({
|
||||
label: 'This is a Label'
|
||||
}),
|
||||
new (TouchBar.ColorPicker)({
|
||||
change: (...args) => {
|
||||
console.log('Color was changed', ...args)
|
||||
}
|
||||
})
|
||||
]))
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue