Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Writable<T>

Svelte writable store contract.

Type parameters

  • T

Hierarchy

Index

Methods

Methods

set

  • set(value: T): void
  • Set value and inform subscribers.

    Parameters

    • value: T

      to set

    Returns void

subscribe

update

  • update(updater: Updater<T>): void

Generated using TypeDoc