Finishing Up
Wrap up the development for the ionic-animations application with a few final amendments.
We'll cover the following...
The Location
interface
One last task remains before we can run the application and test that in the browser.
We need to create our Location
interface, which we used within the HomePage
class to define the expected structure for the following:
public items: Array<Location> = [
// ...
];
public togglePanel(item: Location = null): void {
// ...
}
private isContentDisplayed(item: Location): void {
// ...
}
...