This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@triptyk/ember-select

1.0.0-beta.18 • Public • Published

ember-select

This addon will give you a simple select alternative for TailwindCSS

Compatibility

  • Ember.js v3.24 or above
  • Ember CLI v3.24 or above
  • Node.js v12 or above
  • You need tailwind v2 or above to use this simple select

Installation

ember install @triptyk/ember-select

OR

pnpm add -D @triptyk/ember-select

Usage

Default style

@import 'tpk-ember-select';

Simple syntax

<TpkSelect 
  @multiple={{true}} 
  @options={{this.options}} 
  @selected={{this.selected}} 
  @onChange={{this.selectElement}} 
  @onSearch={{this.search}}
  @label="My select"
  @defaultText="Please select something"
>
  <:selected as |s|>
    <span class="text-red-400">{{s}}</span>
  </:selected>
  <:option as |o|>
    {{o.option}}
  </:option>
</TpkSelect>

Extended syntax

  

Contributing

See the Contributing guide for details. You can also contact info@triptyk for more informations on how contributing on this project.

License

This project is licensed under the MIT License.

Package Sidebar

Install

npm i @triptyk/ember-select

Weekly Downloads

562

Version

1.0.0-beta.18

License

MIT

Unpacked Size

10.1 MB

Total Files

1723

Last publish

Collaborators

  • amauryd
  • dramixdw
  • remadex
  • tcdp
  • vesass