mirror of
https://github.com/pebble-dev/clay.git
synced 2026-08-29 21:36:54 -04:00
styling for input, toggle, color, select and button.
This commit is contained in:
+11
@@ -4,3 +4,14 @@ window.returnTo = '$$RETURN_TO$$';
|
||||
window.clayConfig = require('./config.js');
|
||||
window.claySettings = {};
|
||||
window.customFn = require('./custom-fn.js');
|
||||
|
||||
var platform = window.navigator.userAgent.match('Android') ? 'android' : 'ios';
|
||||
document.documentElement.classList.add('platform-' + platform);
|
||||
|
||||
window.expand = function(obj) {
|
||||
obj.size = 5;
|
||||
};
|
||||
|
||||
function unexpand(obj) {
|
||||
obj.size = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user