Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector. Mimics jquery.prevAll.
Parameter | Type | Description |
---|---|---|
selector (optional) | string | A string containing a selector expression to match elements against. |
Returns
Type | Description |
---|---|
Selection | A Selection. |