Questions tagged [modal]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5
votes
4answers
9k views

magento 2 js modal popup close event

require( [ 'jquery', 'Magento_Ui/js/modal/modal' ], function( $, modal ) { var options = { ...
6
votes
1answer
4k views

How to create popup in magento 2?

Sometimes it is required like to show promotional popup for the first time when customer visits the site. How to create popup based on cookie in magento 2? Like I want to display any CMS static block ...
19
votes
5answers
33k views

how to create a form popup-modal in magento2

I am new to magento2. i'm trying to create a popup-modal for my new form. I have created a popup which works fine but unable to create a modal. Following is the code for popup which loads on page ...