(opts = {})
| 169 | }, |
| 170 | |
| 171 | stepsHref(opts = {}) { |
| 172 | const params = new URLSearchParams(); |
| 173 | if (opts.anchor) params.set('anchor', opts.anchor); |
| 174 | else if (opts.symbol) params.set('symbol', opts.symbol); |
| 175 | if (opts.depth) params.set('depth', String(opts.depth)); |
| 176 | if (opts.through) params.set('through', '1'); |
| 177 | if (opts.view) params.set('view', opts.view); |
| 178 | return `#/steps${query(params)}`; |
| 179 | }, |
| 180 | |
| 181 | deadHref(opts = {}) { |
| 182 | const params = new URLSearchParams(); |
no test coverage detected