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

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