- Framework7 Tutorial
- Framework7 - Home
- Framework7 - Overview
- Framework7 - Environment
- Framework7 Components
- Framework7 - Layouts
- Framework7 - Navbars
- Framework7 - Toolbars
- Framework7 - Search Bar
- Framework7 - Status Bar
- Framework7 - Side Panels
- Framework7 - Content Block
- Framework7 - Layout Grid
- Framework7 - Overlays
- Framework7 - Preloaders
- Framework7 - Progress Bar
- Framework7 - List Views
- Framework7 - Accordion
- Framework7 - Cards
- Framework7 - Chips
- Framework7 - Buttons
- Framework7 - Action Button
- Framework7 - Forms
- Framework7 - Tabs
- Framework7 - Swiper Slider
- Framework7 - Photo Browser
- Framework7 - Autocomplete
- Framework7 - Picker
- Framework7 - Calendar
- Framework7 - Refresh
- Framework7 - Infinite Scroll
- Framework7 - Messages
- Framework7 - Message Bar
- Framework7 - Notifications
- Framework7 - Lazy Load
- Framework7 Styling
- Framework7 - Color Themes
- Framework7 - Hairlines
- Framework7 Templates
- Framework7 - Templates Overview
- Framework7 - Auto Compilation
- Framework7 - Template7 Pages
- Framework7 Fast Clicks
- Framework7 - Active State
- Framework7 - Tap Hold Event
- Framework7 - Touch Ripple
- Framework7 Useful Resources
- Framework7 - Quick Guide
- Framework7 - Useful Resources
- Framework7 - Discussion
Framework7 - Popover
Description
To manage the presentation of temporary content, popover component can be used. It will exist until you click outside of the popover window or you can dismiss it explicity.
It is suggested not to use popover on small screens (iPhone). You should use Action sheet or Action sheet to popover coversion which are discussed in next chapter.
The popover layout is very simple and is added usually at the end of the <body> section as shown below −
<body> .... <div class = "popover"> <!-- Popover's angle arrow --> <div class="popover-angle"></div> <!-- Popover's content --> <div class = "popover-inner"> <!-- Any content of HTML here --> </div> </div> </body>
Popover is highly customizable. You can place any element inside and event another view with navigation. The following table shows the popover types used in Framework7 −
S.No | Types & Description |
---|---|
1 | Open and close Popover
Opening and closing the popover can be achieved by using HTML and JavaScript. |
2 | Dynamic Popover
The popover can be created dynamically by using related app methods. |
3 | Popover Events
To detect how the user interacts with the popover, you can use popover events. |
framework7_overlays.htm
Advertisements