31 lines
537 B
Plaintext
31 lines
537 B
Plaintext
# Consul::Nspace::SearchBar
|
|
|
|
Searchbar tailored for searching namespaces. Follows our more generic
|
|
'*::SearchBar' component interface.
|
|
|
|
```hbs preview-template
|
|
<Consul::Nspace::SearchBar
|
|
@search={{this.search}}
|
|
@onsearch={{fn (mut this.search) value="target.value"}}
|
|
|
|
@sort={{hash
|
|
value='Name:asc'
|
|
change=(noop)
|
|
}}
|
|
|
|
@filter={{hash
|
|
searchproperty=(hash
|
|
value=(array)
|
|
change=(noop)
|
|
default=(array)
|
|
)
|
|
}}
|
|
/>
|
|
```
|
|
|
|
## See
|
|
|
|
- [Template Source Code](./index.hbs)
|
|
|
|
---
|