Home
API: forms

Function: toPathData()

lifecycle-kit

lifecycle-kit


lifecycle-kit / forms / toPathData

Function: toPathData()

toPathData(path): string

Defined in: forms/render/svg.ts:91

A whole path as a single d attribute.

Subpaths concatenate, which is what M is for — one string can carry a body and its six legs, and a consumer styles the result once.

Parameters

path

Path

Returns

string