Ionic directives VS Angular material directives with Ionic Framework

General Tech Bugs & Fixes 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

 

I want to use ionic with material design. I am stuck between using ionic directives with custom CSS and angular-material

I have read that using ionic directives we get lot of efficient features like

  • App data is remembered with UI-router, even after navigating to other view and coming back to the page

  • Ionic list items are rendered only up to display height and reused when scrolling down or up

and a lot of performance improvements.

But, if I use ionic directives they don't have the material design.

If I use angular-material I will not have these performance improvements, and extra features needed for a mobile application.

Angular-material directives are like


  item ng-repeat="item in items">
    Hello, {{item}}!
  item>

Ionic directives are like


  item ng-repeat="item in items">
    Hello, {{item}}!
  item>

Looks like Ionic is funding angular-material project development, then why is angular-material not compatible to use with ionic?

How can I use angular-material components without losing the performance improvements and features of ionic?

OR

is there a better idea for using material design with ionic?

profilepic.png
manpreet 2 years ago

I found a material design css framework known as Materializecss. It looks promising. It's just plain css and javascript framework.

http://materializecss.com/

Advantages over other frameworks

  1. Pure css classes, will not conflict with ionic directives. No performance loss.
  2. Of all the frameworks i have seen, this is the only one closely following material design rules
  3. Almost ready it has about 50+ contributors it's current Version 0.95.3 in less than 6 months
  4. Easy to use. Well documented with feature wise navigation.
  5. It has almost all material design features needed for an app.

This page http://materializecss.com/getting-started.html will show you how to include it in your projects.

Hope this helps for any of you searching for a good material design framework.

UPDATE: 2015-07-09

I Found another light weight powerful beautiful css framework for material design

Material Design Light http://www.getmdl.io/

It is light weight, has smooth and quick animations, looking pretty good. It was made by one of the google developers. It is officially promoted by google https://developers.google.com/web/. It is getting quiet popular, try it. Comparision with Angular Material

UPDATE: 2015-10-23

Ionic2 has InBuilt Support for Material Design in Android

Its Official, You can watch Ionic2 demo in AngularConnect, It has Material Design as default for Android. We don't need to worry about choosing Material Design framework.


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.