CodBi
    Preparing search index...

    Provides the htm.functionality.

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

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Rearranges the HTMLOptionElement within the HTMLSelectElement "toProcess" in order to place the HTMLOptionElements that're specified in "Favorites" are placed on top of the others in the order they're specified. After the Favorite-HTMLOptionElements a dividing HTMLOptionElement with it's "innerHTML"-Property set to the value given in "Divider", if available. Otherwise the dividing HTMLOptionElement will be empty. Clicking on the divider will either result in selecting the HTMLOptionElement specified in "DividerTarget" or in selecting the previously selected one, if no "DividerTarget" is specified.

      If an "InitialElement" is specified this one will be selected on loading the form.

      Config Parameter:

      • DividerTarget: Specifies the HTMLOptionElement to select when the Divider-HTMLOptionElement is selected.
      • InitialElement: Specifies the HTMLOptionElement that shall be selected when the form is loaded.
      • Favorites: Specifies the HTMLOptionElements that shall be shown before all other ones.
      • Divider: Specifies the divider's text-content.

      Style:

      • .---CodBi.--HTML_Select_Favorites.--Divider: Style the divider.
      • .---CodBi.--HTML_Select_Favorites.--Favorite: Style the favorites.

      Parameters

      • toLoad: { [key: string]: unknown }

        Provided by the CodBi.

      • toProcess: Element

        Provided by the CodBi.

      Returns void