npm.io
4.1.9 • Published 2 months ago

@enso-ui/typeahead

Licence
MIT
Version
4.1.9
Deps
4
Size
21 kB
Vulns
0
Weekly
0
Stars
1

Typeahead

License Stable Downloads Vue JavaScript SCSS npm Issues Merge Requests

Description

Typeahead inputs for Enso UI.

Installation

Install the package:

yarn add @enso-ui/typeahead

Features

  • exports Typeahead, EnsoTypeahead as its public surface
  • keeps the Bulma presentation layer separate from the renderless/stateful layer where applicable

Usage

<script setup>
import { Typeahead, EnsoTypeahead } from '@enso-ui/typeahead/bulma';
</script>

API

Typeahead

Public export available from src/bulma/Typeahead.vue.

Props:

  • hasError
  • isRounded
  • noResults
  • placeholder
  • searching
  • search

Events:

  • keydown
EnsoTypeahead

Public export available from src/bulma/EnsoTypeahead.vue.

Props:

  • source

Injects:

  • errorHandler
  • http
  • i18n
  • route

Depends On

  • No additional Enso UI dependencies.

Contributions

are welcome. Pull requests are great, but issues are good too. Thank you to all the people who already contributed to Enso!

License

MIT