Comments (2)
Not directly out of the box, but you should be able to make one pretty easily with custom components. Something like this should do the trick.
clay-component-textarea.js
module.exports = {
name: 'input',
template: '<div class="component component-textarea">' +
'<label class="tap-highlight">' +
'<span class="label">{{{label}}}</span>' +
'<span class="input">' +
'<textarea data-manipulator-target></textarea>' +
'</span>' +
'</label>' +
'{{if description}}' +
'<div class="description">{{{description}}}</div>' +
'{{/if}}' +
'</div>',
style: '.component-textarea textarea {height: 5em; /*etc...*/}',
manipulator: 'val',
defaults: {
label: '',
description: ''
}
};
app.js
var Clay = require('pebble-clay');
var clayConfig = require('./config.json');
var clay = new Clay(clayConfig);
clay.registerComponent(require('./clay-component-textarea'));
from clay.
Sorry about the very very late reply.
from clay.
Related Issues (20)
- Persist config elements' state without message Key HOT 1
- Date Time Picker HOT 3
- Cancel/Discard changes button HOT 2
- provide a URL to open in device browser HOT 1
- HRM capability needed ! HOT 2
- capabilities works fine on the emulator, kills the rest of the page on a real watch HOT 4
- Support for accessing camera! HOT 1
- Ambiguous use of app.js on CloudPebble HOT 6
- how do pebble c to get checkboxgroup value HOT 1
- Set CSS style of element HOT 1
- Option of not saving field
- No Emery support HOT 2
- Default to Number Keyboard HOT 2
- Slider component ignoring defaultValue
- Can the colors of things be changed? HOT 5
- Can't Install Pebble Clay HOT 9
- Allow items to be in multiple groups
- Invalid attribute example for input
- unable to use Clay in emulator HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clay.