UIButtonList
Name
Type
Default
Description
Example
import {UIButtonList} from 'writer'
render($$) {
const el = $$('div')
return el.append(
$$(UIButtonList, {
listValues: [
{
label: 'A',
value: 'a',
tooltipText: 'Button A'
},
{
label: 'B',
value: 'b',
tooltipText: 'Button B'
},
{
label: 'C',
value: 'c',
tooltipText: 'Button C'
}
],
onClick: () => {
// Do something
}
})
)
}