AddBack adds the previous set of elements on the stack to the current set. It returns a new Selection object containing the current Selection combined with the previous one.
()
| 50 | // It returns a new Selection object containing the current Selection combined |
| 51 | // with the previous one. |
| 52 | func (s *Selection) AddBack() *Selection { |
| 53 | return s.AddSelection(s.prevSel) |
| 54 | } |
| 55 | |
| 56 | // AddBackFiltered reduces the previous set of elements on the stack to those that |
| 57 | // match the selector string, and adds them to the current set. |