Hierarchy

  • ISelectionFeature

Index

Properties

Methods

Properties

currentSelection

currentSelection: function

Returns the currently active selection as a promise.

Type declaration

Methods

onSelection

  • onSelection(listener: function): function
  • Registers an listener callback which will be called on selection

    Parameters

    • listener: function

      Event listener, which will be called on selection

    Returns function

    • Returns callback which can be executed to unsubscribe the event listener
      • (): void
      • Returns void