Coder Social home page Coder Social logo

paper-steps's People

Contributors

ataylor32 avatar juanmendez92 avatar patgmiller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

leesander1

paper-steps's Issues

Add paper-steps.reset method

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);
  }
},        

Save Inputs & Response On Success

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.

Fix toast color

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).

Not working in shadow DOM

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

It's a problem with the stepper

In a new update of Polymer elements, the paper-steps underwent a change. Now all that is not within an iron-form will not be loaded in the DOM.

paper steps demo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.