Set zoom

Summary

Sets the React Flow viewport to a specific absolute zoom level.

Action fields

Specify the exact zoom level to set.

Name
Type
Summary

number

The absolute zoom level to set. Must be greater than 0. For example, 1.0 is normal size, 2.0 is double size, 0.5 is half size.


Action fields

Specify the exact zoom level to set.

Zoom level

Type: number

The absolute zoom level to set. Must be greater than 0. For example, 1.0 is normal size, 2.0 is double size, 0.5 is half size.


Last updated