Compartment

Extension compartments can be used to make a configuration dynamic.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun get(state: EditorState): Extension?

Get the current content of the compartment in the state.

Link copied to clipboard

Create an instance of this compartment to add to your state configuration.

Link copied to clipboard
operator fun Extension.plus(other: Extension): ExtensionList

Combine two extensions into an ExtensionList.

Link copied to clipboard

Create an effect that reconfigures this compartment.