Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "geocortex/infrastructure/selection/StarredSelection"

Index

Variables

Let fsc

A FSC to use as the container for the starred selection

Const id

id: "starred_selection" = "starred_selection"

Hardcoded id of the starred selection

Functions

handleSelectionCheckboxClick

  • handleSelectionCheckboxClick(el: HTMLInputElement): boolean
  • Click handler which is used by the 'star' checkbox wherever it appears, in order to support accessibility concerns

    Parameters

    • el: HTMLInputElement

    Returns boolean

handleSelectionCheckboxKeydown

  • handleSelectionCheckboxKeydown(evt: KeyboardEvent, el: HTMLElement): boolean
  • Keydown handler which is used by the 'star' checkbox wherever it appears, in order to support keyboard navigation

    Parameters

    • evt: KeyboardEvent
    • el: HTMLElement

    Returns boolean

initialize

  • This is called by the SelectionModule when it starts up in order to have an app instance to run the commands below

    Parameters

    Returns void

setSelected

  • setSelected(feature: Feature): void
  • The Feature constructor sets a binding on the 'selected' observable that will call this method. This allows the selected status of a feature to be correctly set simply by binding this observable to a checkbox, and makes it easier to populate selectable features in a bound list.

    Parameters

    Returns void