ember.js - Reusable Ember Component across different modules -


I have two amber apps in the same website and I want to share the common components.

In my App # 1 (App1 namespace) I have this template that tries to use the drag-element component:

  {{# drag- Element item = item.Id elementName = 'num' dragtype = 'visit'}} test {{drag-element}}  

I have defined the component in a different namespace like this :

Normal DragElementComponent = Ember.Component.extend ({...});

How can I refine this component from app 1 which is a different namespace than usual?


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -