2.0 Beta

Smootify 2.0 is in public beta. Your 1.x store keeps working. Move when you want.

What changed

smootify:filter_initial_change

a filter Search & Discovery applied from `selected-value` or the url, before the first search

v2.0 beta
Open .md
On this page
  1. Listen
  2. Payload

a filter Search & Discovery applied from selected-value or the url, before the first search Since 1.x.

Listen

window.Smootify = window.Smootify || [];
window.Smootify.push((api) => {
  api.on("filter_initial_change", (payload) => {
    // …
  });
});

Payload

{ name: string; value: string | string[] | undefined }

    ↑ ↓ to moveEnter to openEsc to close