Fudge User Interface
    Preparing search index...

    Connects a [[Mutable]] to a DOM-Element and synchronizes that mutable with the mutator stored within. Updates the mutable on interaction with the element and the element in time intervals.

    Index

    Constructors

    • Parameters

      • _mutable: Mutable | MutableArray<Mutable>
      • _domElement: HTMLElement

      Returns Controller

    Properties

    domElement: HTMLElement

    Methods

    • Performs a breadth-first search on the given _domElement for an element with the given key.

      Parameters

      • Optional_mutator: Mutator
      • Optional_types: Mutator

      Returns Mutator

    • Parameters

      • _mutable: Mutable | MutableArray<Mutable>

      Returns void

    • Performs a breadth-first search on the given _domElement for an element with the given key.

      Parameters

      • _domElement: HTMLElement
      • _key: string

      Returns HTMLElement

    • Recursive method taking the a [[ƒ.Mutable]] as a template to create a [[ƒ.Mutator]] or update the given [[ƒ.Mutator]] with the values in the given UI-domElement

      Parameters

      • _mutable: Mutable | MutableArray<Mutable>
      • _domElement: HTMLElement
      • Optional_mutator: Mutator
      • Optional_types: Mutator

      Returns Mutator

    • Recursive method taking an existing [[ƒ.Mutator]] as a template and updating its values with those found in the given UI-domElement.

      Parameters

      • _domElement: HTMLElement
      • _mutator: Mutator

      Returns Mutator

    • Recursive method taking the [[ƒ.Mutator]] of a [[ƒ.Mutable]] and updating the UI-domElement accordingly. If an additional [[ƒ.Mutator]] is passed, its values are used instead of those of the [[ƒ.Mutable]].

      Parameters

      • _mutable: Mutable | MutableArray<Mutable>
      • _domElement: HTMLElement
      • Optional_mutator: Mutator

      Returns void