bbweb / d-md-components Goto Github PK
View Code? Open in Web Editor NEWA pack of components according to Google's Material Design based upon mdl (getmdl.io)
License: MIT License
A pack of components according to Google's Material Design based upon mdl (getmdl.io)
License: MIT License
Solution for when field is empty: Set height to auto if scrollHeight === 0. However, we still don't have a solution for whenever there's a lot of text in the field (as auto only goes so far in such scenarios). One solution to this is to say in the README that the user needs to trigger a function whenever the textarea becomes visible. atm. there is no publicly facing method for this (although _maybeExpand exists - aka. there should be an action for that with a good name).
Further, it would be nice to be able to specify if the textarea should auto-adjust it's height or not.
And also, check the textarea component
Specifically:
textarea {
overflow: hidden
resize: none
}
which should be in the component, and not up to the user (imo)
We should implement components for the progress bar and a spinner. We already have working version of this, but for cleaner/more DRY code it'd be nice to keep them in this module instead.
See 084b2ae for how I did it for textfield. This should probably be done in all components. All READMEs should also be updated accordingly.
At the absolute bottom of https://www.google.com/design/spec/components/text-fields.html#text-fields-required-fields there's a video, where one field has a persistent help text. We should implement support for this. The need rose form a real scenario in one of our projects. I concluded to remove it until we have this solution for it. There are still some questions about what to with errors in such scenario (we should probably discuss), but I can imagine that this will popup again.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.