- AMP:Building Accelerated Mobile Pages
- Ruadhan O'Donoghue
- 160字
- 2021-07-08 10:04:11
Engaging Users with Interactive AMP Components
This chapter looks at how to deliver better user experiences with the interactive components available in AMP. Our example article page is beginning to look nice and enticing, but so far there has been no way for visitors to interact with it. Building on our example, we'll learn how to add more interactive UI components that will both help to improve the user experience and improve how the site design looks.
All the techniques in this chapter have two things in common that help to enhance the user experience:
- They require some kind of interaction or trigger from the user
- They are designed to make the most of the limited screen space available on mobile devices
Specifically, we'll be looking at the following topics:
- Creating collapsible content sections with <amp-accordion>
- Building navigation menus with <amp-sidebar> and <amp-carousel>
- Building tabbed content with <amp-selector>
- How to generate dismissable pop-up user notifications with amp-user-notification
- The Action and Event model in AMP
推薦閱讀
- 在最好的年紀學Python:小學生趣味編程
- ASP.NET MVC4框架揭秘
- 程序員數學:用Python學透線性代數和微積分
- 從0到1:Python數據分析
- 微服務架構深度解析:原理、實踐與進階
- HTML5從入門到精通(第4版)
- Test-Driven Development with Django
- UNIX Linux程序設計教程
- Regression Analysis with Python
- 深度探索Go語言:對象模型與runtime的原理特性及應用
- 多媒體技術及應用
- Web編程基礎:HTML5、CSS3、JavaScript(第2版)
- Swift 2 Design Patterns
- HTML5 and CSS3:Building Responsive Websites
- Slick2D Game Development