Search page
The values of `search` inside `smootify-search-page`.
On this page
At a glance
Results
search="count"12, the number of resultssearch="query"linen, the searched wordssearch="empty-state"hidden
No results
search="count"0search="query"xyzzysearch="empty-state"shown
No words
search="empty-state"shown: the page searches nothing
More in the guide.
Where it can go
- Inside
smootify-search-page.
Values
| Attribute and value | What it is | Notes |
|---|---|---|
search="query" | Query | on text |
search="count" | Result count | on text |
search="empty-state" | Empty state | A search without results; not before a search; on container |
search="no-query" | Before a search | Shown while there is no query: what are you looking for, suggestions; on container |
search="with-query" | With a search | Shown while there is a query: the results row; on container |