Directive communication question

10 visningar
Hoppa till det första olästa meddelandet

leonard flournoy

oläst,
26 juli 2016 20:49:542016-07-26
till AngularJS
If in one directive I create a timeline object like this

timeline = new links.Timeline(document.getElementById('mytimeline'), scope.timeline.options);

is there a way to call functions on that timeline from another directive?

Really new to Angular and javascript. Any information would be helpful.

Thanks
Svara alla
Svara författaren
Vidarebefordra
0 nya meddelanden