Skip to content

EditorState.facet method

EditorState › facet

Official

Get the value of a state facet.

Signature:

facet(facet: FacetReader<Output>): Output

Parameters:

Parameter Type Description
facet FacetReader<Output> The facet reader.

Returns: OutputThe facet value.