CodBi
    Preparing search index...

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

    Index

    Constructors

    Properties

    kfFocusOnAutocomplete: Keyframe[] = ...

    Store the PropertyIndexedKeyframes to use to animate the HTMLElement specified by the FocusOnAutocomplete-CodBi-Parameter.

    registered: boolean = ...

    States whether this OpenPLZ_Autocomplete was successfully registered via CodbiGlobal.registerFunctionality with the CodBi and performs the registration upon class usage.

    tmgFocusOnAutocomplete: KeyframeAnimationOptions = ...

    Store the PropertyIndexedKeyframes to use to animate the HTMLElement specified by the FocusOnAutocomplete-CodBi-Parameter.

    Methods

    • Registers the "OpenPLZ.Autocomplete"-Functionality.

      This functionalities takes advantage of the OpenPLZ_Streets and OpenPLZ_Localities Elementplaceholder to complete what is typed into the tagged HTMLInputElement with data the public OpenPLZ API provides. It suggests completions as soon as there are multiple matches and only allows entries that match exactly one OpenPLZ-Entry.

      Config Parameter:

      • Country: The optional country to retrieve the data of (if not provided either the country specified in the CodBi's Configuration OpenPLZ_Country will be used or, if not specified, "de").
      • TargetData: What type of data shall be received by the target (Localities, PostalCode or Streets ).
      • DependentPLZ The CSS-Selector of the field that restricts the search of streets by it's value resembling a postal-code, only if DependentLocality is undefined.
      • DependentLocality The CSS-Selector of the field that restricts the search of streets by it's value resembling a locality (overwrites DependentPLZ).
      • FocusOnAutocomplete The CSS-Selector of the field to focus when an autocomplete has occurred.
      • MsgNotKnown: The message to show when trying to set a value that can't be found in OpenPLZ.
      • CSSProposals: The CSS-Style for the proposals-Select-Element appearing when there are multiple matches.

      Parameters

      • toLoad: { [key: string]: string }
      • toProcess: Element

      Returns void