1
0
Fork 0
BangleApps/tests/Layout/tests/buttons_osd_bangle2.js

11 lines
265 B
JavaScript

var layout = new Layout({ type: "v", c: [
{type:"txt", font:"6x8", label:"A test"},
{type:"btn", label:"Button 1"},
{type:"btn", label:"Button 2"}
]},{btns:[ // Buttons...
{label:"A", cb:()=>{}},
{label:"STOP", cb:()=>{}},
{label:"B", cb:()=>{}},
]});