Join Sani Yusuf for an in-depth discussion in this video Solution: Toast notification, part of Ionic 4.0 Essential Training.
(intro music) … - In this video I'll be showing you how to implement a toast … So let's go ahead and see how we could do that. … So, the first thing we want to do is, … we open up our activity detail page. … So, we go to the src here. … If you look through here around line 67 to around 74, … we already have the code that automatically … adds our activity to the favorites list. … So, the add function here on line 73 returns a promise. … So, we can go head and leverage in that promise, … and call the dot then method of it. … And make everything a little bit readable, … Now, some of you might have implemented … your toast notification just outside, … and you probably might still get it to work, … However, the reason why I am going to put mine … in the dot then is that I want to ensure that … the fire based Fire store has completely inserted the file … into the database, … So, let's go ahead and see how we can use the toast. … The first thing I want to do is, … I want to go to my … constructor here and I'll say private …
- Ionic 4.0 features
- Testing with Ionic Lab
- Designing a home page
- Generating services
- Consuming REST APIs
- Creating a data model
- Using Ionic DevApp
- Using Ionic Native
- Designing the profile page
- Sharing to social media
- Setting up Firebase
Skill Level Intermediate
Angular: Maintaining Applicationswith Emmanuel Henri44m 29s Intermediate
Angular: Progressive Web Appswith Maximiliano Firtman4h 40m Intermediate
1. Setting Up the Environment
2. Working with a Tab-Based Template
3. Preview App on Device with Ionic DevApp
Introduction to Ionic DevApp3m 57s
4. Working with UI Components
5. Working with Ionic Native
6. Connecting an App to Firebase Backend
7. Working with Complex Lists
Next steps2m 24s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.