Comments (6)
Hi @JohnAReid
Thanks for taking the time and opening an issue here!
Could you please elaborate more on the first paragraph?
What were the problems that you faced while working with Angular Material Design Lite?
Material Design Lite is distributed with Vanilla JS and Vanilla CSS (no external dependencies). So of course it doesn't make sense to use angularjs for Material Design Lite to work. But if you're already using AngularJS in your app for other various tasks, then this package would be very helpful.
Angular Material Design Lite is an angular wrapper on top of Material Design Lite.
The concept is very similar to this package.
While keeping in mind that this package is still under development, first of all it offers help by providing a set of directives in order to use the material design components.
As you can see in the Directives section of the documentation: http://jadjoubran.github.io/angular-material-design-lite you can use<mdl-button-raised theme="primary">Primary Raised button</mdl-button-raised>
instead of the following code:
<button class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored">
Button
</button>
Awaiting your response!
from angular-material-design-lite.
Another planned feature is the mdl-progress directive which wraps mdl's progress bar.
It would be extremely helpful to use it through angular material design lite if you want to control the progress
from your controller:
and then everytime you change the vaue of progress, it'll automatically update the loader.
from angular-material-design-lite.
Could you please elaborate more on the first paragraph?
I have been using Angular Material for the last six months or so - and mainly on the whole happy with it, but recently found it is getting hard and harder to control - for example the icon button has a fixed height, a min height and a line height - hence the button takes up a lot of room - converted to the lite version today and it nice and small with no excess padding. In short you had to do things the way Angular Material wanted. I also stopped using features such as the bottom sheet as the layout would change from column to row whilst the sheet was being opened and it just looked bad. Icons - in Angular Material you had to configure mdIconProvider whilst with the new lite version it is so easy.
If I read your reply correctly angular-material-design is taking the MDL controls and is using directives to make it easier to write and understand. Whilst this will make it a lot easier and faster to use, I personally would prefer to use MDL directly as least then I have full control when something goes wrong.
from angular-material-design-lite.
Sounds great, thanks for your reply!
Well I've also been using Angular Material for about 6 months and I'm loving it so far.
I also open sourced my Laravel and angular material starter project.
So regarding the Angular Material
and Material Design Lite
it really depends on your design requirements & functionality. For example I won't be able to work without Angular Material's dialog functionality, but that could be completely useless for you.
Back to angular-material-design, yes it allows you to use directives to easily access MDL components. I'm working on a way to pass all attributes this package's directives to the generated MDL components.
I'd recommend that you check this package in a week or two. It'll be feature complete.
I'd also appreciate it if you can star this repository in order to support it.
And I'd be happy to answer any question you have about this repository or about MDL in general.
from angular-material-design-lite.
And don't forget that even if you're using angular-material-design-lite, you can always use the native MDL components instead of the provided directives
from angular-material-design-lite.
Thanks for the quick reply - I think what you are doing it great - star added.
from angular-material-design-lite.
Related Issues (20)
- mdl-button-raised to be fusionned with mdl-button HOT 4
- ripple effect applied when button is disabled HOT 5
- material design ng-view issue HOT 3
- Angular mdl input type issue HOT 6
- how do i let it work in template.html when i use the ngRute HOT 2
- mdl-menu ul id="" and for="" Issue in angular HOT 2
- Layout Drawer question HOT 3
- Initial state of checkbox HOT 1
- Mdl tabs "is-active" class is not applied by [ngClass]. HOT 3
- convert to attribute directives: radio & checkboxes
- convert to attribute directive: buttons
- Angular 2.0 support ? HOT 1
- Npm support? HOT 8
- any progress soon? HOT 3
- ui-view button issue HOT 1
- [REQUEST] MDL Tooltips HOT 1
- componentHandler.upgradeAllRegistered() on ngView HOT 19
- typing error in demo HOT 14
- Switch not responding to model change HOT 5
- mdl-text-field : keep <input> to conserve the possibility to use some attribut as "list" HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-material-design-lite.