Question

I already know how to use the Sizzle CSS selector engine.

This is the syntax: Sizzle( selector );

So now my question is: What is the use of the Sizzle CSS selector engine?

Was it helpful?

Solution

Sizzle is much more lightweight than jQuery. jQuery is an entire DOM manipulation library and sizzle is just a selector engine. jQuery is 80kb gzipped and minified. Sizzle is 50kb uncompressed.

OTHER TIPS

It a core component of the jQuery JavaScript API, and is thus in common use.

Sizzle parses the html elements and find the element you are looking for in a quick and efficient manner.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top