ConstraintJS - v0.10.2
    Preparing search index...

    Class Binding<V>

    Keeps some aspect of DOM nodes in sync with a value computed from constraints. For example, cjs.bindText creates a binding that keeps an element's text up to date.

    Type Parameters

    • V = any
    Index
    options: BindingOptions<V>
    targets: unknown
    • Stop updating the targets and clean up.

      Returns void

    • Stop updating the targets until resume is called.

      Returns this

      • resume
      • throttle
    • Start updating the targets again (after pause).

      Returns this

      • pause
      • throttle
    • Wait at least minDelay milliseconds between updates (0 to update right away again).

      Parameters

      • minDelay: number

      Returns this

      • pause
      • resume