createInlineFrameJsonMl

Type: Function

How to get createInlineFrameJsonMl?

JavaScript

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

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

For use by elements configured using configureAsInlineObject.

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 inline frame

Returns

Type: JsonMl