DEV Community

Discussion on: How to use JavaScript libraries in your Dart applications

Collapse
 
silvapheeha profile image
Silva

Hi, How can i implement this in angularDart, Tried following your approach but nothing is happening in my component.

Collapse
 
creativ_bracket profile image
Jermaine

Could you shed a bit more light on what you wish to achieve? You don't need interop if using AngularDart itself.

Collapse
 
silvapheeha profile image
Silva

I am trying to use jQuery With AngularDart, to animate some components. Angular has a BrowserAnimationsModule but couldn't find something similar in AngularDart so decided to use jQuery.

Thread Thread
 
creativ_bracket profile image
Jermaine

May investigate this as part of my video series on AngularDart. In the meantime, have you tried with CSS animations?

Thread Thread
 
silvapheeha profile image
Silva

Css animations was my last resort, i will try and use css. Thank you.

Thread Thread
 
creativ_bracket profile image
Jermaine

You're welcome. Just released a video today demonstrating interop with Toastr.js in an AngularDart web app → youtu.be/xegpncRwqGw Let me know what you think.

Thread Thread
 
silvapheeha profile image
Silva

Thanks, your tutorial helped me lot.

Thread Thread
 
hoanganhhhhh profile image
HoangAnhhhhh

but I couldn't build the app when using external js library. :(

Thread Thread
 
creativ_bracket profile image
Jermaine

Any errors? Could you share the code you have in a GitHub gist?