News for hackers. Stuff that matters.
Re:Material Components Preview by r1ch on Thursday December 15, 2016 @06:05PM (#13189522)
> Then simply include the correct files, write some HTML, and call mdc.autoInit() within a closing <script> tag.

Why on earth do we need JS involved in what should be some simple HTML / CSS?

Re:Material Components Preview by SamBam on Thursday December 15, 2016 @07:59PM (#13190212)
MD often involves a fair bit of animation.

If you look at the individual components, though [1], most of them (like cards) actually have no associated JS at all.

Most of the other components, like the TextField (which includes JS to have things like the placeholder text swoop to a mini version above the field once you start typing) have gracefully-degrading versions. Not all of them do, however.

1. https://github.com/material-components/material-components-w...

Re:Material Components Preview by rickycook on Thursday December 15, 2016 @06:30PM (#13189704)
the usual thing in other MD HTML frameworks is the ripple effect on buttons, and a few others. it's upsetting but legitimate