Sign up (with export icon)

AddRootOptions

Api-typedef icon typedef

Additional options available when adding a root.

Properties

  • Chevron-right icon

    attributes : RootAttributes | undefined

    Initial attributes for the root.

  • Chevron-right icon

    data : string | undefined

    Initial data for the root.

  • Chevron-right icon

    elementName : string | undefined

    Element name for the root element in the model. It can be used to set different schema rules for different roots.

  • Chevron-right icon

    isUndoable : boolean | undefined

    Whether creating the root can be undone (using the undo feature) or not.