ember-custom-select
v0.1.6
Published
Some inspiration for the custom styles for a select element in Ember.
Downloads
7
Readme
ember-custom-select
Some inspiration for the custom styles for a select element in Ember.
Demo
Installation
ember install ember-custom-select
Features
- Declarative
- 8+ Styles to choose from
- Fully composable
- Customizable
Usage
Example markup:
Bar style
<section>
{{#ec-select style='border' placeholder="Preferred contact method"}}
<option value="email">E-Mail</option>
<option value="twitter">Twitter</option>
<option value="linkedin">LinkedIn</option>
{{/ec-select}}
</section>
Selectbox styles
You can replace the style property of the component to any of the following styles to get a different style variation of your select component.
- border
- underline
- elastic
- slide
- overlay
- rotate
- box-select
- circular
Custom class names
This component can accept custom class names from the customClasses property to override the styling and appearance of the select box.
Running
ember serve
- Visit your app at http://localhost:4200.
Running Tests
npm test
(Runsember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
Building
ember build
For more information on using ember-cli, visit https://ember-cli.com/.
Installation
git clone <repository-url>
this repositorycd ember-custom-select
npm install
bower install
Running
ember serve
- Visit your app at http://localhost:4200.
Running Tests
npm test
(Runsember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
Building
ember build
For more information on using ember-cli, visit https://ember-cli.com/.