Coder Social home page Coder Social logo

Comments (6)

jadjoubran avatar jadjoubran commented on July 30, 2024

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.

jadjoubran avatar jadjoubran commented on July 30, 2024

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.

6gsaifulislam avatar 6gsaifulislam commented on July 30, 2024

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.

jadjoubran avatar jadjoubran commented on July 30, 2024

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.

jadjoubran avatar jadjoubran commented on July 30, 2024

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.

6gsaifulislam avatar 6gsaifulislam commented on July 30, 2024

Thanks for the quick reply - I think what you are doing it great - star added.

from angular-material-design-lite.

Related Issues (20)

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.