@geogirafe/lib-geoportal
    Preparing search index...

    Represents a draggable and resizable selection window component. Display itself when it should be visible and have selected features. To be visible, it has to be the defined selectionComponent.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    displayedProperties: [string, unknown][] = []
    focusedIndex: number = 0
    iconCenter: string = IconCenter
    maxIndex: number = 0
    name: string
    rendered: boolean = false
    shadow: ShadowRoot
    showDropdown: boolean = false
    styleUrl: string | null = null
    styleUrls: string[] = ...
    template: Hole | (() => Hole)
    templateUrl: string = './template.html'
    visible: boolean = false

    Accessors

    Methods

    • Convert the string in parameter with uHtml and return it. This allows to convert a string with html in a right html object. For example, htmlUnsafe('

      ') will return an html div object.

      Parameters

      • str: string

      Returns Hole

    • In the templates, sometimes for accessibility reasons, we have to support the KeyDown Event In those case, we often juste want to do the same as the click event when Enter or Space is pressed Then this method can be used : it just calls the click event on the same element

      Parameters

      • e: KeyboardEvent

      Returns void

    • Creates an array of WindowFeature objects based on the provided GridDataById object. Using gridDataById orders by feature id the WindowFeatures.

      Parameters

      Returns WindowFeature[]

      An array of WindowFeature objects.