There is a function: https://github.com/tamtakoe/oi.select/blob/master/src/services.js#L113
It links the container (element) and the inner input (inputElement). If the focus/blur event fired on input, it fires focus/blur event on the container using element.triggerHandler. If the focus came to the container, it is transferred focus to input using inputElement[0].focus How to test this functionality? I try to do it here (by Jasmine): https://github.com/tamtakoe/oi.select/blob/master/src/services.spec.js#L63. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
