Framework7 - Open & Close Panels



Description

Once you add panel and effects, we need to add functionality to open and close the panels. The following table shows how can we open or close the panels −

S.No Type & Description
1 From HTML

To open and close the panel, add open-panel and close-panel class respectively to any HTML element.

2 Using JavaScript

Panels can be opened and closed with JavaScript by using the related app methods.

framework7_side_panels.htm
Advertisements