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

    The Grid in which the Map Components are displayed.

    The Components are written as children of this Element in the HTML of the application and are moved into the Cells of the Grid, depending on state.layout. A Component that is not placed in any Cell is not slotted, and therefore not displayed.

    Hierarchy (View Summary)

    Index
    cellIndexes: number[] = []

    Index of each Cell of the current Layout, used to render the Cells and their slots.

    displayStyle?: string
    feedbackTemplateHtml?: string
    name: string
    rendered: boolean = false
    shadow: ShadowRoot
    splitters: Splitter[] = []

    The splitters between the Cells of the current Layout.

    styleUrls: string[] = ...
    template: Hole | (() => Hole)
    templateUrl: string = './template.html'
    • get isFullscreenComponent(): boolean

      Whether this Component must stay visible when the App is in Fullscreen Mode. Controlled by the "fullscreen" attribute (default: false).

      Returns boolean

    • Parameters

      • parentNodeName: string
      • elem: Node | null
      • initialElem: Node | null = elem

      Returns Node | null

    • 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

    • Parameters

      • event: PointerEvent
      • splitter: Splitter

      Returns void

    • Resizes the two columns (or the two rows) around the dragged splitter. While dragging, the new sizes are only applied to the DOM: the state is updated at the end of the drag, to prevent flooding it with intermediate values.

      Parameters

      • event: PointerEvent
      • splitter: Splitter

      Returns void

    • 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