Skip to content

showed

showed is a DOM event that occurs after the dropdown got fully displayed.

Event body

none

Example

In this example we listen to showed event and perform an action whenever it's emitted.

useStorefront(async (storefront) => {
    document.addEventListener('showed', () => {
        console.log('dropdown has been showed');
    });
});