Skip to Content
💡 Legacy Notice: You're viewing Svelte Flow for Svelte 4. For the latest documentation, click here.
ReferenceTypesBackgroundVariant

BackgroundVariant

The three variants are exported as an enum for convenience. You can either import the enum and use it like BackgroundVariant.Lines or you can use the raw string value directly.

export enum BackgroundVariant { Lines = 'lines', Dots = 'dots', Cross = 'cross', }
Last updated on