(options = [])
| 33 | } |
| 34 | |
| 35 | const getAnchorOptions = (options = []) => { |
| 36 | return options.filter((option) => !option.hidden && option.isAnchor) |
| 37 | } |
| 38 | |
| 39 | const getAnchorPosition = (options, index) => { |
| 40 | const spacing = clientHeight / (getAnchorOptions(options).length + 1) |
no outgoing calls
no test coverage detected