As the title says, we would like to open the dropdown of the Ember Power Select (http://ift.tt/25XClF1) from outside, i.e., from a parent component or the route's template.
As far as we have checked, there is no way to trigger the action open
of the component, which btw wouldn't be correct in the sense of "data down, actions up" principle. So, rather we need to "register" some data attribute that allows us to trigger to open the dropdown by altering the data attribute.
But maybe we have overseen something and somebody could propose a solution to our requirement to open the dropdown from outside?
Example: Ember Power Select is part of a bigger component, e.g., some bigger div
. When the user clicks wherever on that div
, the dropdown opens.
Thanks for any input!
Aucun commentaire:
Enregistrer un commentaire