TESSA Web API
Preparing search index...
UI.Common
ScrollManager
Class ScrollManager<T>
Type Parameters
T
extends
HTMLElement
=
HTMLElement
Index
Constructors
constructor
Accessors
block
Scroll
host
is
Subscribed
last
Position
restore
After
Subscribe
root
Element
saved
Position
Methods
dispose
on
Scroll
Handler
restore
Position
save
Position
subscribe
unsubscribe
Constructors
constructor
new
ScrollManager
<
T
extends
HTMLElement
=
HTMLElement
>
(
host
?:
T
|
HostCallback
<
T
>
|
RefObject
<
T
>
,
)
:
ScrollManager
<
T
>
Type Parameters
T
extends
HTMLElement
=
HTMLElement
Parameters
Optional
host
:
T
|
HostCallback
<
T
>
|
RefObject
<
T
>
Returns
ScrollManager
<
T
>
Accessors
block
Scroll
get
blockScroll
()
:
boolean
Returns
boolean
set
blockScroll
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
host
get
host
()
:
null
|
T
|
HostCallback
<
T
>
|
RefObject
<
T
>
Returns
null
|
T
|
HostCallback
<
T
>
|
RefObject
<
T
>
set
host
(
value
:
null
|
T
|
HostCallback
<
T
>
|
RefObject
<
T
>
)
:
void
Parameters
value
:
null
|
T
|
HostCallback
<
T
>
|
RefObject
<
T
>
Returns
void
is
Subscribed
get
isSubscribed
()
:
boolean
Returns
boolean
set
isSubscribed
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
last
Position
get
lastPosition
()
:
ScrollPosition
Returns
ScrollPosition
set
lastPosition
(
value
:
ScrollPosition
)
:
void
Parameters
value
:
ScrollPosition
Returns
void
restore
After
Subscribe
get
restoreAfterSubscribe
()
:
boolean
Returns
boolean
set
restoreAfterSubscribe
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
root
Element
get
rootElement
()
:
undefined
|
T
Returns
undefined
|
T
saved
Position
get
savedPosition
()
:
undefined
|
ScrollPosition
Returns
undefined
|
ScrollPosition
set
savedPosition
(
value
:
undefined
|
ScrollPosition
)
:
void
Parameters
value
:
undefined
|
ScrollPosition
Returns
void
Methods
dispose
dispose
()
:
void
Returns
void
Readonly
on
Scroll
Handler
onScrollHandler
(
e
:
Event
)
:
void
Parameters
e
:
Event
Returns
void
restore
Position
restorePosition
()
:
void
Returns
void
save
Position
savePosition
(
left
?:
number
,
top
?:
number
)
:
void
Parameters
Optional
left
:
number
Optional
top
:
number
Returns
void
subscribe
subscribe
(
host
?:
T
|
HostCallback
<
T
>
|
RefObject
<
T
>
)
:
void
Parameters
Optional
host
:
T
|
HostCallback
<
T
>
|
RefObject
<
T
>
Returns
void
unsubscribe
unsubscribe
()
:
void
Returns
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
block
Scroll
host
is
Subscribed
last
Position
restore
After
Subscribe
root
Element
saved
Position
Methods
dispose
on
Scroll
Handler
restore
Position
save
Position
subscribe
unsubscribe
TESSA Web API
Loading...