Fudge User Interface
    Preparing search index...

    Static class generating UI-domElements from the information found in [[ƒ.Mutable]]s and [[ƒ.Mutator]]s

    Index

    Constructors

    Methods

    • Creates a [[Controller]] from a [[FudgeCore.Mutable]] with expandable details or a list

      Parameters

      • _mutable: Mutable
      • Optional_name: string

      Returns Controller

    • Create extendable details for the [[FudgeCore.Mutator]] or the [[FudgeCore.Mutable]]

      Parameters

      • _mutable: Mutable | MutableArray<Mutable>
      • Optional_name: string
      • Optional_mutator: Mutator

      Returns DetailsArray | Details

    • TODO: refactor for enums

      Parameters

      • _name: string
      • _content: Object
      • _value: string
      • _parent: HTMLElement
      • Optional_cssClass: string

      Returns HTMLSelectElement

    • Create a div-Elements containing the interface for the [[FudgeCore.Mutator]] or the [[FudgeCore.Mutable]]

      Parameters

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

      Returns HTMLDivElement

    • Create a div-Element containing the interface for the [[FudgeCore.Mutator]] Does not support nested mutators!

      Parameters

      • _mutator: Object | Mutator

      Returns HTMLDivElement

    • Create a specific CustomElement for the given data, using _key as identification

      Parameters

      • _key: string
      • _type: string | Object
      • _value: Object

      Returns HTMLElement