Get all preceding siblings of each element up to but not including the element matched by the selector. Mimics jquery.prevUntil.
Parameter | Type | Description |
---|---|---|
selector (optional) | string | Selection | null | A selector expression or object to match elements against. |
filter (optional) | string | null | A selector expression to filter matched elements. |
Returns
Type | Description |
---|---|
Selection | A Selection. |