marcosmoura / angular-material-steppers Goto Github PK
View Code? Open in Web Editor NEWA Angular Material directive to create Steppers following the Material Design spec.
License: MIT License
A Angular Material directive to create Steppers following the Material Design spec.
License: MIT License
HI,
It would be great to have the readme file updated so it is easier to know how to implement this library. On top of that, more people can have a look on this library which I think is great due to being written in Typescript.
I'm thinking of contributing with it. What do you think? Do you have any ideas regarding how the structure of such doc would look like?
Hi,
Currently, the md-step directive has this 3 attributes:
It could be really useful to expose a method in the $mdSteppers service from the md-steppers controller to get such metadata. I'm thinking in something like this:
$mdSteppers("myStepper").getStepMetadata(stepNumber);
This will return the metadata object: {label: ..., editable: ..., optional: ...}
This metadata is needed to implement the navigation buttons "Back" and "Next", you need to know whether the step is optional or not so you can allow the user to "skip" the step. Also you need to know whether the step is editable or not so you can prevent the user from going back to a "non-editable" step.
Otherwise, you need to create an array with the numbers of the Optional steps and another array with the numbers of Non-editable steps and keep them in sync with what you define in the elements in the template to provide such functionality.
Hello,
I have discovered this library and I am trying it out. It is really nice!
However, I have noticed that there is an attribute md-editable which I guess is meant to provide the functionality as the Material Design spec defines. Digging a bit into the code, I realized such attribute is not used, is this something that is foreseen in a future release of this library?
In the md-steppers\template.js there is an ng-click="$mdSteppers.clickAction(stepNumber)" but in fact, the controller method accepts 2 params: this.clickAction = (stepNumber, editing) => { ...}
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.