goToDIV() {
document.getElementById('targetBlue').scrollIntoView({
behavior: 'smooth',
block: 'start',
inline: 'nearest',
});
}
<div id="targetBlue" >
<h2 class=""><b>Blocage temporaire</b></h2>
</div>
goToDIV() {
document.getElementById('targetBlue').scrollIntoView({
behavior: 'smooth',
block: 'start',
inline: 'nearest',
});
}
<div id="targetBlue" >
<h2 class=""><b>Blocage temporaire</b></h2>
</div>