setCanvasOverflow
Description​
Updates the overflows needed to ensure the smooth scrolling can reach the "end" at the desired position. Without these overflows we might not have enough scroll space and we cannot reach a "sticky cursor" behavior.
- JavaScript
- C#
- Kotlin
setCanvasOverflow(canvasElement: IContainer, overflow: number, isVertical: boolean): voidvoid SetCanvasOverflow(IContainer canvasElement, double overflow, bool isVertical)fun setCanvasOverflow(canvasElement: IContainer, overflow: Double, isVertical: Boolean): Unit| Parameter | Summary |
|---|---|
canvasElementAll | The canvas element. |
overflowAll | (no description) |
isVerticalAll | Whether we have a vertical or horizontal overflow |