Home > @plasmicapp/loader-edge > generateAllPathsWithTraits
generateAllPathsWithTraits() function
Generates all possible paths with the given traits. Should be used to enable fallback false
Signature:
export declare function generateAllPathsWithTraits(path: string, traitValues?: Record<string, string[]>, seedRange?: number): string[];
Parameters
Parameter | Type | Description |
---|---|---|
path | string | |
traitValues | Record<string, string[]> | (Optional) |
seedRange | number | (Optional) |
Returns:
string[]