Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ViewUpdate<T, H>

An update definition connects a store value to a DOM element's property. When the value changes the element's property is updated automatically. This does not re-render the whole component.

Type parameters

Hierarchy

  • ViewUpdate

Index

Properties

Optional binder

The binder type we use to trigger the binding. Can be omitted and falls back to default binder.

property

property: keyof T

The model's property name that we bind here.

selector

selector: string

Any selector that's valid for querySelector. Must return a single element.

target

target: keyof H

The property of the selected element that will receive the store value.

Generated using TypeDoc