Directive communication question

10 views
Skip to first unread message

leonard flournoy

unread,
Jul 26, 2016, 8:49:54 PM7/26/16
to 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
Reply all
Reply to author
Forward
0 new messages