Option - scroll to element or not
Aperta
enhancement
- Lingua principale
- HTML
- Stelle
- 378
- Fork
- 22
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
```
var Highlighter = new window.Highlighter({
'scroll': true/false
});
```
Scroll automatically or not to the selected elements.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Look at the Highlighter constructor in the source code to see how options are handled. The feature involves adding a 'scroll' option that controls whether the viewport scrolls to highlighted elements. Check how element highlighting is currently triggered and modify the logic to conditionally scroll. Test by running the demo page and toggling the option.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- frontend
- Tipo di issue
- Funzionalità
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 55/100