.contents()
Get the children of each element in the set of matched elements, including text and comment nodes.
| CARVIEW |
All the aspects of the API that were added, or had a new signature added, in the corresponding version of jQuery.
Version 3.2 added support for custom CSS properties, made .contents() work on the <template> element & made .width() & .height() ignore CSS transforms. A few APIs were deprecated. The deprecated module was added back to the slim build.
For more information, see the Release Notes/Changelog.
Get the children of each element in the set of matched elements, including text and comment nodes.
Get the value of a computed style property for the first element in the set of matched elements or set one or more CSS properties for every matched element.