Using scrollIntoView

9 views
Skip to first unread message

Jérémie Lefrancois

unread,
Jul 7, 2024, 1:19:48 PM7/7/24
to brython
I cannot figuire out how to do this.

I tried this (amongst many things) :

self.scrollIntoView(javascript.scrollIntoViewOptions.new({'block':'end'}))


but no success !

The scrollIntoView method insures a popup wiundow is visible.

It uses a parameter  scrollIntoViewOptions to set some nice prperties like deciding if the window whould appear up, down right or left.

I need help on how to pass this parameter in brython ....

Au secours !

Reply all
Reply to author
Forward
0 new messages