createFrameJsonMl

Type: Function

How to get createFrameJsonMl?

JavaScript

import createFrameJsonMl from 'fontoxml-families/src/createFrameJsonMl.js'

Create a JsonML fragment which appears as a frame in the rendered document.

For use by elements configured using configureAsObject.

Arguments

  1. innerJsonMl

    (Required)

    Type: JsonML

    The JsonML to place inside the frame

  2. sourceNode

    (Required)

    Type: NodeProxy

  3. renderer

    (Required)

  4. visualization

    (Required)

    Visualization options to use for the frame

Returns

Type: JsonML