0

I know that Angular 1 ran a subset of jQuery called jqlite. Does Angular 2 support an expanded subset? and moreover, does angular 2 still support direct-inject jQuery?

1

1 Answer 1

1

I don't know what you mean by "support direct-inject jQuery". You can use jQuery with Angular but if you want to use features like WebWorker or serverside rendering you can't use jQuery with Angular. Angular itself doesn't provide a subset of jQuery.

I think it's considered bad practice to use and direct DOM access in general should be avoided.

Sign up to request clarification or add additional context in comments.

2 Comments

I suppose I meant referencing jQuery in the html using <link/> will pull in the full jQuery toolset into Angular.
That can be done. See the linke @echonax posted above.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.