Class: FragmentDefinition

FragmentDefinition(name, typeName)

new FragmentDefinition(name, typeName)

This constructor should not be invoked directly. Use the factory function Document#defineFragment to create a FragmentDefinition on a Document.

Parameters:
Name Type Description
name String

The name of the fragment definition.

typeName String

The type of the fragment.

Source: