[WIP] - Implement bool and string getter

This commit is contained in:
Keegan
2016-10-26 23:22:19 -07:00
parent 1aff0378f5
commit 27a5b77b8a
5 changed files with 115 additions and 37 deletions
+28 -7
View File
@@ -3,13 +3,34 @@ var Clay = require('pebble-clay');
var clay = new Clay({
config: [
{
label: 'test',
type: 'color',
messageKey: 'test_int'
},
{
type: 'submit',
defaultValue: 'submit'
type: 'section',
items: [
{
label: 'int',
type: 'color',
messageKey: 'test_int'
},
{
label: 'char',
type: 'input',
messageKey: 'test_char'
},
{
label: 'bool',
type: 'toggle',
messageKey: 'test_bool'
},
// {
// label: 'raw',
// type: 'checkboxgroup',
// messageKey: 'test_raw',
// options: ['one', 'two', 'three']
// },
{
type: 'submit',
defaultValue: 'submit'
}
]
}
],
closedCallback: function(response) {