Skip to content

StateFieldSpec.provide?

StateFieldSpec › provide?

Type: (field: StateField<Value>) => Extension

Provide extensions based on this field. The given function will be called once with the initialized field. It will usually want to call some facet's from method to create facet inputs from this field, but can also return other extensions that should be enabled when the field is present in a configuration.