Timeline for How to use jQuery with Angular?
Current License: CC BY-SA 3.0
47 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 6, 2023 at 18:22 | history | protected | CommunityBot | ||
Jan 2, 2023 at 12:03 | answer | added | Mena afefe | timeline score: 1 | |
Dec 17, 2021 at 3:04 | comment | added | Dan Chase | @mast3rd3mon I've heard this said over and over, and starting to think it's just groupthink. I see things tout "jquery free" and think it's just a personal goal or something, the user doesn't know or care, and whether they say it or not, Google isn't really going to get rid of nativeelement. Bootstrap modal is really the only place I tend to use it, but it just seems like there's a cult against it "just because". Plus, it's really not that hard to refactor out if it ever needs to go, provided there's not a better way to do things. | |
Oct 4, 2021 at 19:06 | answer | added | ekremkocak | timeline score: 5 | |
Dec 31, 2019 at 7:05 | answer | added | Yogesh Waghmare | timeline score: 7 | |
May 22, 2019 at 5:30 | comment | added | freedom | you can use ElementRef instead, just look angular documentation | |
May 6, 2019 at 21:30 | answer | added | MJ X | timeline score: 3 | |
Apr 28, 2019 at 6:19 | answer | added | varundhariyal | timeline score: 26 | |
Apr 19, 2019 at 5:24 | comment | added | mojtaba ramezani | When you use Angular, try not to use the jquery library. Try using the features and the libraries that are produced for angular framework. If you want to use the jquery functions like find(), html(), closest() and etc.., I suggest using the pure js. example: querySelector(), innerHTML, parentElement and etc... | |
Mar 28, 2019 at 14:24 | comment | added | user4851087 | You can read my blog post here ngohungphuc.wordpress.com/2019/02/07/using-jquery-with-angular | |
Oct 1, 2018 at 12:10 | comment | added | Talk is Cheap Show me Code | @Cristian Tralna What if someone wants to use existing jQuery based libraries in angular application? Though I understand that Angular and Jquery are 2 different world from architectural point of view but lets say someone have lots of functionality (or few lines of code which is very importent) coded in jquery based libraries, He/She might needed to use jquery $ along with typescript. | |
Sep 30, 2018 at 12:22 | answer | added | Amr Ibrahim | timeline score: 2 | |
Sep 19, 2018 at 0:37 | answer | added | Carter Medlin | timeline score: -1 | |
May 25, 2018 at 9:08 | comment | added | Christian Vincenzo Traina | Why should a person use JQuery with Angular? | |
May 22, 2018 at 13:26 | comment | added | mast3rd3mon | I think the correct answer for this is: You Dont. Angular is more advanced and newer than jquery, its not outdated and has a lot cleaner code | |
Apr 21, 2018 at 21:14 | answer | added | azakgaim | timeline score: 4 | |
Oct 9, 2017 at 11:55 | answer | added | Laxmikanta Nayak | timeline score: 14 | |
Oct 2, 2017 at 15:12 | comment | added | Kay | If you are looking to query DOM elements, you should try Angular Renderer2 instead of jQuery. angular.io/api/core/Renderer2 | |
Aug 9, 2017 at 9:28 | answer | added | Jahal | timeline score: 13 | |
S Jul 30, 2017 at 5:44 | history | suggested | ishandutta2007 | CC BY-SA 3.0 |
angular 2,4 and onwards is just called angular whereas Angular1 is called AngularJS. As tag has been renamed to angular so should the questions be
|
Jul 30, 2017 at 3:30 | review | Suggested edits | |||
S Jul 30, 2017 at 5:44 | |||||
Jun 22, 2017 at 7:01 | answer | added | Yosam Lee | timeline score: 35 | |
Jun 9, 2017 at 14:52 | answer | added | Vasim Hayat | timeline score: 9 | |
May 16, 2017 at 14:54 | answer | added | Jeffrey Rosselle | timeline score: 1 | |
May 3, 2017 at 7:05 | answer | added | S Raghav | timeline score: 1 | |
Mar 30, 2017 at 11:05 | comment | added | Benyamin Shoham | While some jQuery functionality (especially plugins or jQueryUI) can be very useful in an Angular2 app, it is not best practice to query and manipulate the DOM from inside Angular2 components, as you described in your question. In Angular2 apps the DOM elements you want to manipulate should be bound to your component model. DOM elements state should change according to model changes. Check out this answer: stackoverflow.com/questions/42411744/best-practice-of-angular-2 | |
Mar 10, 2017 at 10:05 | comment | added | AmanDeepSharma | Just follow these simple steps here: stackoverflow.com/a/42295505/7532440 | |
Feb 17, 2017 at 10:28 | answer | added | AmanDeepSharma | timeline score: 28 | |
Feb 4, 2017 at 19:12 | comment | added | user1089766 | please refer below link to use Jquery in Angular 2- stackoverflow.com/a/42044459/1089766 | |
Jan 25, 2017 at 18:25 | history | edited | danday74 | CC BY-SA 3.0 |
grammar
|
Nov 1, 2016 at 7:22 | answer | added | Aakash | timeline score: 162 | |
Oct 15, 2016 at 11:20 | answer | added | Divyesh Patel | timeline score: 5 | |
Oct 3, 2016 at 22:39 | answer | added | Jon | timeline score: 4 | |
Aug 29, 2016 at 22:12 | history | edited | Estus Flask |
The question doesn't apply to AngularJS (1.x)
|
|
Aug 12, 2016 at 14:31 | answer | added | BALA | timeline score: 10 | |
Jul 13, 2016 at 7:30 | comment | added | Anil Singh | It might help code-sample.com/2016/07/use-jquery-with-angular-2.html | |
Jul 8, 2016 at 16:41 | answer | added | Devesh Jadon | timeline score: 59 | |
Jul 7, 2016 at 12:58 | answer | added | Starwave | timeline score: 128 | |
Jun 29, 2016 at 12:37 | answer | added | Kamil Kiełczewski | timeline score: 12 | |
Jun 7, 2016 at 13:16 | answer | added | ayyappa maddi | timeline score: 2 | |
Apr 6, 2016 at 13:56 | answer | added | Urgo | timeline score: 1 | |
Mar 10, 2016 at 15:42 | comment | added | theFreedomBanana | Don't know which version you were using at the time you posted but to me adding JQuery cdn in index.html is enough to call $ in a component | |
Oct 4, 2015 at 18:45 | answer | added | Mourad Zouabi | timeline score: 13 | |
Jun 14, 2015 at 13:21 | vote | accept | Waog | ||
Jun 5, 2015 at 9:16 | answer | added | werenskjold | timeline score: 364 | |
Jun 3, 2015 at 15:22 | review | Close votes | |||
Jun 16, 2015 at 3:04 | |||||
Jun 3, 2015 at 15:01 | history | asked | Waog | CC BY-SA 3.0 |