1. Write a navigation bar . When you click the title, you can expand and contract the content of the navigation bar, simplify the content or display more content.
The sample code is as follows:
New Document TITLE>
Book Category
2. Rendering :

After clicking:

Simplified:
