patgmiller / paper-steps Goto Github PK
View Code? Open in Web Editor NEWA horizontal / vertical implementation of Material Design steppers.
License: MIT License
A horizontal / vertical implementation of Material Design steppers.
License: MIT License
It would be good to have a general reset method to call after completing all steps.
Perhaps something like this:
reset: function() {
var
i, len,
steps = this,
forms = steps.$.steps_content && steps.$.steps_content.items,
selector = steps.$.selector,
items = selector && selector.items
;
if (forms.length) {
for (i = 0, len = forms.length; i < len; i++) {
forms[i]._reset();
items[i].completed = false;
}
}
steps._closeMessage();
if (selector && selector.select) {
selector.select(0);
}
},
Unfortunately i cannot use paper-dropdown-menu
element inside paper-step
. Its options cannot get selected. Any ideas why this happens?
If a step is already completed
, then set completed=false
or call _reset()
and the completed state of the selector steps remains unchanged.
After a successful form submit, save the serialized form data and server response objects to the paper-step
element.
Also save the last server error response.
Would be great to see this element supporting Polymer 2.0
The toast success, warning, and error messages need to have their font color corrected to match the default material color palette.
Eg. Warning font should not be #fff
but should be rgba(0,0,0,0.87)
.
Hello,
I am new to polymer, trying to implement paper-steps for one of our requirement. This element is really awesome, but when I try add this element in Shadow Dom, it is not rendering correctly. Am I missing anything here? Your response is appreciated.
Thanks
Mani
If a step is already marked as complete
, editing and resubmitting doesn't move progress forward.
Add a public error or message method to paper-step
for convenience in displaying errors, warning, etc.
Currently, some things that are clickable don't have cursor: pointer;
, so the fact that they're clickable isn't as obvious as it should be.
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.