CodBi
    Preparing search index...

    Maintainer: Callari, Salvatore (Salvatore.Callari@Ansbach.de)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • This functionality populates a HTMLSelectElement by generating HTMLOptionElement for each entry found in "Titles", if available. If "Titles" isn't available the "Values" will be treated as the "Titles" also. The one with the least entries determines the amount of HTMLOptionElements that'll be generated.

      • Titles: The optional "title"-attributes that shall be set on the HTMLOptionElements.
      • TitleProperty: The optional property to retrieve from the Array passed to the Values to use it as the actual title.
      • Values: The HTMLElement.innerHTMLs the generated HTMLOptionElement shall have.
      • ValueProperty: The optional property to retrieve from the Array passed to the Values to use it as the actual value.
      • TextProperty The optional property to retrieve from the Array passed to the Values to use it as the actual seen text in the selection (if not specified but ValueProperty is, the ValueProperty will be used for the text).
      • ReClean: An optional boolean specifying whether to clean the HTMLSelectElement prior to populate it.

      Parameters

      • toLoad: { [key: string]: string | boolean | [] }

        Provided by CodBi.checkAttributes / CodBi.loadConfig.

      • toProcess: Element

        Provided by CodBi.checkAttributes / CodBi.loadConfig.

      Returns undefined