👩🚀 Custom element base class to issue mutations via your Apollo cache.
As an attribute, can be a string of comma-separated query names
<mutation-element refetch-queries="QueryA, QueryB,QueryC"></mutation-element>
As a property, you can pass any legal
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.
Increments and returns the most recent mutation id.
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.