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).
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-idon it: do not set them yourself.
Attributes inside it
| Group | Attribute name | Values |
|---|---|---|
| Image size | max-width | 4 |
| Loading | skeleton | 5 |
| Metaobject field | metaobject | 6 |
| Metaobject field (condition) | if-metaobject | 3 |
Loading
Its code loads only on pages that have smootify-metaobject.