Trevixal API
Preparing search index...
@trevixal/core
clampPosition
Function clampPosition
clampPosition
(
doc
:
EditorNode
,
position
:
Position
)
:
Position
Clamp a position into the valid range for the given document.
Parameters
doc
:
EditorNode
position
:
Position
Returns
Position
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Trevixal API
Loading...
Clamp a position into the valid range for the given document.