- jQuery UI Cookbook
- Adam Boduch
- 180字
- 2021-08-13 16:40:48
Introduction
In this chapter, we will explore the various ways in which we can extend the accordion widget to accommodate a number of scenarios. The accordion widget offers a lot of out-of-the-box functionality. For example, without any configuration, we get a themed container widget that groups contents into sections.
We'll focus on use cases that shed light on the inner workings of the accordion widget. Keyboard events are one way to navigate the page, and we can enhance the accordion's support for these events. Some magic happens behind the scene to come up with each section's height, when expanded. We'll see how we can work with these configurations, especially when the section height changes on the fly.
Also on the topic of height, we can let the user control the height of individual sections, or, from a theme perspective, we can control the space between the accordion components. Finally, we'll look at some of the more advanced accordion usage where we give the user the freedom to sort their accordion sections and to drag sections from one accordion to another.
- 每天5分鐘玩轉(zhuǎn)Kubernetes
- Linux操作系統(tǒng)基礎(chǔ)
- Implementing Cisco UCS Solutions
- Designing Purpose:Built Drones for Ardupilot Pixhawk 2.1
- 從零開始寫Linux內(nèi)核:一書學(xué)透核心原理與實(shí)現(xiàn)
- Ansible權(quán)威指南
- Google系統(tǒng)架構(gòu)解密:構(gòu)建安全可靠的系統(tǒng)
- 蘋果電腦玩全攻略 OS X 10.8 Mountain Lion
- WordPress Mobile Web Development:Beginner's Guide
- 混沌工程:復(fù)雜系統(tǒng)韌性實(shí)現(xiàn)之道
- Windows Phone 8 Application Development Essentials
- Linux基礎(chǔ)使用與案例
- 精解Windows 10
- Windows 10從新手到高手
- Linux操作系統(tǒng)