Edtr.io
DocumentationAPIBlog
v2.0.0GitHub

The API reference is a Work in Progress and will be continuously improved and extended. We'd love to hear your feedback in our documentation repository.

Home > @edtr-io/plugin > SerializedScalarStateType

SerializedScalarStateType type

Signature:
export declare type SerializedScalarStateType<S, T> = StateType<
  S,
  T,
  {
    value: T
    get(): T
    set(value: T | ((currentValue: T) => T)): void
  }
>
References: [StateType](./plugin.statetype.md)
Privacy
Imprint

© 2023 Serlo Education e.V.

API Reference@edtr-io/core@edtr-io/default-document-editor@edtr-io/default-plugin-toolbar@edtr-io/document-editor@edtr-io/editor-ui@edtr-io/math@edtr-io/plugin@edtr-io/renderer-ssr@edtr-io/renderer-ui@edtr-io/renderer@edtr-io/store-devtools@edtr-io/store@edtr-io/ui@edtr-io/plugin-anchor@edtr-io/plugin-blockquote@edtr-io/plugin-files@edtr-io/plugin-geogebra@edtr-io/plugin-highlight@edtr-io/plugin-image@edtr-io/plugin-input-exercise@edtr-io/plugin-multimedia-explanation@edtr-io/plugin-rows@edtr-io/plugin-sc-mc-exercise@edtr-io/plugin-serlo-injection@edtr-io/plugin-spoiler@edtr-io/plugin-table@edtr-io/plugin-text@edtr-io/plugin-toolbar@edtr-io/plugin-video