azchn.com+app.html,Chapter 6. Weather app, using side menus, modals, action sheets, and ionScroll

本章介绍了如何使用Ionic构建一个天气应用,重点展示了侧滑菜单作为导航基础,通过动作面板提供用户选项,用模态展示日出日落数据,以及构建更高级的滚动交互。你将学习到Ionich的各种组件,包括设置侧滑菜单、搜索定位、设置视图和数据服务,以及实现天气视图、自定义滚动、动作面板、模态显示和弹出框功能。
摘要由CSDN通过智能技术生成

Chapter 6. Weather app, using side menus, modals, action sheets, and ionScroll

This chapter covers

Using a side menu as the basis of your app for navigation

Displaying options to users with action sheets and popups

Using a modal to display related content over another view

Building more-advanced scrolling interactions

In this chapter you’ll build a weather app, and in the process you’ll showcase more components that Ionic has to offer. The base of the application navigation will be the side menu component. It will allow you to find and view weather conditions, forecasts and favorite locations; display sunrise and sunset data inside of a modal window; and use a paginated scrolling pane to view the weather information.

Throughout the chapter we’ll look at a number of Ionic’s features and components. The side menu will be the basis for your app navigation, and you’ll use just a single left menu that can appear to navigate around the app. You’ll use the action sheet component to provide users a list of options, such as to note a favorite location. Using a modal, you’ll display the next year’s chart of sunrise and sunset values. To make this chart perform better, you’ll use the collection repeat feature of the Ionic lists, which reduces memory for large lists by rendering only the necessary items.

6.1. Setting up the chapter project

6.2. Setting up the side menu and views

6.3. Searching for locations

6.4. Adding settings view and data services

6.5. Setting up the weather view

6.6. ionScroll: building custom scrolling content

6.7. Action sheet: displaying a list of options

6.8. ionModal: displaying the sunrise and sunset chart

6.9. Popup: alert and confirm changes to favorites

6.10. Chapter challenges

6.11. Summary

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值