Surface / foldkit-surface/writes

RegionFacts

interface · packages/surface/src/writes.ts:58

interface RegionFacts<Tag extends string> {
  readonly name: string
  readonly reads: Option.Option<DependencyTree>
  readonly redrawnBy: ReadonlyArray<Tag>
}

What Writes.of worked out for one view it keeps the drawing of.

Members

RegionFacts.name

property · packages/surface/src/writes.ts:60

readonly name: string

The Surface's name.

RegionFacts.reads

property · packages/surface/src/writes.ts:62

readonly reads: Option.Option<DependencyTree>

The Model paths it reads; none when it reads what no path names.

RegionFacts.redrawnBy

property · packages/surface/src/writes.ts:64

readonly redrawnBy: ReadonlyArray<Tag>

The declared Messages that draw it again. A Message with no transition always does.