How to open popup popup using javascript?

I’m working with a framework7 project having webpack build. One page has two popup with .edit-memo-popup and .memo_popup css selectors.I’m trying to open one with .edit-memo-popup using javascript but popup.open only accept animate argument.How can i do it?

app.popup.open(el, animate)- opens Popup

  • el - HTMLElement or string (with CSS Selector). Popup element to open.
  • animate - boolean. Open Popup with animation.

Method returns Popup’s instance

1 Like