2.0 Beta

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

What changed

smootify-metaobject

One metaobject, written into its [metaobject] descendants. With data-handle-param the handle comes from that parameter of the page url (data-handle-param="l" on /list?l=giulia-birthday: a link to one entry, such as one a metaobject-creator form created), before data-id and data-handle, which stay the fallback; the handle only goes to the query, never into the page. Without the parameter (and no fallback) or with an unknown handle the element is removed like any not found: a message next to it can show with :has() (.list:not(:has(smootify-metaobject)) .not-found).

v2.0 beta
Open .md
On this page
  1. Where it can go
  2. What it requires
  3. Attributes on the element
  4. Attributes inside it
  5. Loading

Where it can go

  • Anywhere on the page.
  • Out of place, Smootify removes it from the page: also without data-id or data-handle (or the data-handle-param parameter) plus data-type, or not found.

What it requires

Nothing beyond Smootify: it works on every plan.

Attributes on the element

  • It reads data-id, data-handle, data-handle-param, data-type.
  • Smootify writes data-id on it: do not set them yourself.

Attributes inside it

GroupAttribute nameValues
Image sizemax-width4
Loadingskeleton5
Metaobject fieldmetaobject6
Metaobject field (condition)if-metaobject3

Loading

Its code loads only on pages that have smootify-metaobject.

    ↑ ↓ to moveEnter to openEsc to close