![]() Let’s talk about the them real quick so we can finish our basic calendar implementation: ![]() Now we are already able to add events to the calendar, but we also need some more functions that we connected inside the view previously. In our app we already got the default page so let’s simply add it to the app/home/ like: import Now we don’t need to add it to our main module but to the actual module file of the page where we want to add the calendar. ![]() Don’t be shocked by the name - it still works great with v4 so go ahead and run: ionic start devdacticCalendar blank -type=angular We start with a blank app and add our calendar package. I’ve also talked about alternatives and using a different package inside Building a Calendar for Ionic With Angular Calendar & Calendar Alternatives. We’ll dive into building a calendar using the ionic2-calendar package which offers some different views and can be customised to some degree, but if you have very specific requirements you might need to create everything from the ground up yourself. The problem with creating a tutorial like this is that the need for a calendar view varies in almost every app. Because there is still no calendar component directly shipping with Ionic 4 it’s time to revisit how to build one yourself using a great package we already used in a previous post.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |