New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

emberx-select

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emberx-select

A Select component based on html select.

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1K
increased by16.23%
Maintainers
1
Weekly downloads
 
Created
Source

emberx-select

A Select component based on the native html select.

Why a select component? Because Ember.Select is hard to use, and really, all you want to do is just use a <select> tag dammit. The only difference is that you want value of the options to be any object and not just a string.

By allowing arbitrary html to appear in the template of the select element, you can use it just like you would normally. This means things like having <optgroup> tags inside your select, or even plain old <option> elements to represent things like empty values.

XSelect thinly wraps a native element so that it can be object and binding aware. It is used in conjuction with the x-option component to construct select boxes. E.g. {{#x-select value=bob action="selectPerson"}} {{x-option value=fred}}Fred Flintstone{{/x-option}} {{x-option value=bob}}Bob Newhart{{/x-option}} {{/x-select}} the options are always up to date, so that when the object bound to value changes, the corresponding option becomes selected. Whenever the select tag receives a change event, it will fire action EmberX emberx-select is part of the "missing components of ember" collectively known as emberx. See also: emberx-slider Installation ember install:addon emberx-select Running Tests ember test ember test --server

Keywords

FAQs

Package last updated on 23 Feb 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc