View definition

(*Selection).WrapSelection

Defined in github.com/PuerkitoBio/goquery/manipulation.go

Description

WrapSelection wraps each element in the set of matched elements inside the first element in the given Selection. The element is cloned before being inserted into the document.

It returns the original set of elements.

WrapSelection is referenced in 1 repository

github.com/PuerkitoBio/goquery