Pointy little popovers with the Overlay API
This is one of the advanced recipes in this book, especially for those of you who have already been working with Angular for a while. In this recipe, we'll not only create some popovers using the CDK Overlay API, but we'll also make them pointy, just like tooltips, and that's where the fun lies.
Getting ready
The project for this recipe resides in chapter09/start_here/pointy-little-popovers
. Proceed as follows:
- Open the project in VS Code.
- Open the terminal and run
npm install
to install the dependencies of the project. - Once done, run
ng serve -o
.This should open the app in a new browser tab, as follows:
Now that we have the app running locally, let's see the steps of the recipe in the next section.
How to do it…
Our app has a list of users that we can scroll through on...