LWT JavaScript API
    Preparing search index...
    • Set up multi-word selection on a container. Listens for mouseup and touchend events and checks for text selection.

      Parameters

      • container: HTMLElement

        The text container element (#thetext)

      Returns void