Gluon: ApolloMutation
ApolloMutation
inherits from ApolloElement
and implements the ApolloMutationInterface
.
Read the mutation component guides for examples and tips.
ApolloMutation
👩🚀 Custom element base class to issue mutations via your Apollo cache.
See ApolloMutationInterface
for more information on events
Properties
variables
Variables<D, V> | null
Mutation variables.
An object that maps from the name of a variable as used in the mutation GraphQL document to that variable's value.
data
Data<D> | null
Latest mutation data.
Exports
import { html, ApolloMutation } from '@apollo-elements/gluon/apollo-mutation';