2.0 Beta

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

What changed

smootify:filter_changed

the visitor changed a filter (`name: "query"` for the search text)

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

the visitor changed a filter (name: "query" for the search text) Since 1.x.

Listen

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

Payload

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

    ↑ ↓ to moveEnter to openEsc to close