Called when the element is adopted to a document.
Called when one of the element's
name of the observed attribute
previous value of the attribute. null if it was nonexistent
current value of the attribute. null if removed.
Lifecycle callback that reacts to changes in the GraphQL document
Increments and returns the most recent mutation id.
Get a GraphQL DocumentNode from the element's GraphQL script child
Gets operation variables from the element's JSON script child
Returns true when an ID matches the most recent mutation id.
This resolves a single mutation according to the options specified and returns a Promise which is either resolved with the resulting data or rejected with an error.
Callback for when a mutation is completed.
Callback for when a mutation fails.
Lifecycle callback that reacts to changes in the operation variables