Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The CanvasRenderingContext2D.scrollPathIntoView()
method of the Canvas 2D API scrolls the current or given path into view. It is similar to Element.scrollIntoView()
.