-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Angular Material usage #48
Comments
@peio72 I played with angular material framework. The calendar can be nicely embedded into content as the screenshot. |
Hello, thanx for this test. The idea would be to get rid of bootstrap and use only the angular material framework. Juste need to modify the templates using specific framework code. Could you tell me if possible and if could help for this. |
I tested with my app and i can confirm bootstrap.css is creating issues with the angular material framework components. So really need a specific template version. |
Yes, I think it's possible. The bootstrap css classes the calendar depends on are the grid system and some icon. As long as there's equivalent css classes, then should be easy to get rid of bootstrap. |
Please could you explain how to proceed ? Which files need to be modified for new templating ? |
First you need to fork my repository. In calendar.html, the div with "calendar-navbar" is using some bootstrap button icons and grid system to generate the navigation bar. You can fully replace them with angular material directives. In month.html/week.html/day.html, the dependent bootstrap classes are "table", "table-bordered", "table-striped", "table-fixed". They just make the table occupy full width and provides the border and background colour. You can achieve the same effect by using your own styles. |
Ok I tried but not success manipulating your code to adapt to material design equivalent. I give up. Maybe you could be interested to port it to angular material one day. You can have a look at this basic plugin: |
Sure, I will take a look. |
@twinssbc , Have you looked at that plugin. I need Angular Material support too!! Thanks for the great plugin!! 👍 |
@TejasCMehta As I said in the previous comments, you can still embed the calendar into Angular Material. It just won't be that fancy like angular-material-calendar as it's using native control. |
Do you think this could be portable for use with angular material framework ?
The text was updated successfully, but these errors were encountered: