Skip to content
Vue Flow
Search
K
Main Navigation
v1.36.0
Guide
Examples
Migration
TypeDocs
Appearance
Menu
Return to top
On this page
Function: clamp
​
â–¸
clamp
(
val
,
min?
,
max?
):
number
Parameters
​
Name
Type
Default value
val
number
undefined
min
number
0
max
number
1
Returns
​
number