mirror of
https://github.com/pebble-dev/clay.git
synced 2026-09-05 08:37:43 -04:00
[WIP] - Basic SimpleAppMessage integration for ints.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
'use strict';
|
||||
var Clay = require('pebble-clay');
|
||||
var clay = new Clay({
|
||||
config: [
|
||||
{
|
||||
label: 'test',
|
||||
type: 'color',
|
||||
messageKey: 'test_int'
|
||||
},
|
||||
{
|
||||
type: 'submit',
|
||||
defaultValue: 'submit'
|
||||
}
|
||||
],
|
||||
closedCallback: function(response) {
|
||||
console.log('closedcallback: arguments' + JSON.stringify(arguments));
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user