OmniDataEditor API
Preparing search index...
@omnidataeditor/editor
ViewportCapability
Interface ViewportCapability
interface
ViewportCapability
{
isVisible
(
element
:
Element
)
:
boolean
;
reveal
(
element
:
Element
,
options
?:
{
behavior
?:
ScrollBehavior
;
block
?:
ScrollLogicalPosition
;
inline
?:
ScrollLogicalPosition
;
}
,
)
:
void
|
Promise
<
void
>
;
}
Index
Methods
is
Visible
reveal
Methods
is
Visible
isVisible
(
element
:
Element
)
:
boolean
Parameters
element
:
Element
Returns
boolean
reveal
reveal
(
element
:
Element
,
options
?:
{
behavior
?:
ScrollBehavior
;
block
?:
ScrollLogicalPosition
;
inline
?:
ScrollLogicalPosition
;
}
,
)
:
void
|
Promise
<
void
>
Parameters
element
:
Element
Optional
options
:
{
behavior
?:
ScrollBehavior
;
block
?:
ScrollLogicalPosition
;
inline
?:
ScrollLogicalPosition
;
}
Returns
void
|
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
is
Visible
reveal
OmniDataEditor API
Loading...