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