gregjopa / ember-power-select-form Goto Github PK
View Code? Open in Web Editor NEWAddon for embedding a form into a multi-select component
License: MIT License
Addon for embedding a form into a multi-select component
License: MIT License
@cibernox - I'd like to get your feedback on this new ember-power-select addon I created. The README contains some details about the purpose of this addon and the architecture details. Checkout the example ember app in the tests/dummy directory to see this addon in action.
I know this addon is an edge case for ember-power-select. But the composition design pattern used with ember-power-select made it pretty easy to create.
The following two things felt hacky to me when overriding the selectOptions
component:
select
event and passing through the transformed parameters. I wasn't sure how to pass the dropdown
param so I just left it blank. https://github.com/gregjopa/ember-power-select-complex/blob/master/tests/dummy/app/components/select-options.js#L62opened
api option. I used this.get('targetObject')
to get access to the main component from inside the selectOptions
component. Is there a better way to refer to the parent component?Any feedback you have would be greatly appreciated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.