Describe what policy to use when the editorContainer would be located outside of the current viewport
Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.input.TextBoxPlacementPolicy
Constants
Move the editorContainer so that it is visible in the current viewport
Move the CanvasComponent so that the editorContainer is visible
Remarks
If the Canvas cannot be sufficiently scrolled due to limits imposed by the ViewportLimiter, the text box is moved instead.
Static Methods
Converts the argument to TextBoxPlacementPolicy.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - TextBoxPlacementPolicy
- The value to convert to TextBoxPlacementPolicy.
Returns
- ↪TextBoxPlacementPolicy
- Either
value
if it is already a TextBoxPlacementPolicy or an appropriate converted value.