Skip to content

MotionDocument

type MotionDocument =
    {
        Version: int
        Hovers: Hover list
        Skipped: Skipped list
    }
AssemblyPartas.Nacara.Plugins.Motion

The motion document the Figma plugin exports.

Fields

Version: int

The document format version.

Hovers: Hover list

The hovers.

Skipped: Skipped list

The variants that were skipped.

Functions and values

[<Literal>] SupportedVersion: int = 1

The document version this package reads.

parse (json: string) : Result<MotionDocument,string>

Reads a motion document, or says why it cannot.