acquiescence - v0.1.16
    Preparing search index...

    Class ElementPicker

    Lets a user pick an element in a document: highlights the element under the pointer, and reports the element clicked, keeping the page from seeing the click. Events a script raises are left out.

    Index
    • Starts picking in a document, stopping any picking already started. The highlight is drawn in a shadow root of an acquiescence-highlight element added to the document element.

      Parameters

      • document: Document

        {Document} The document.

      Returns void

    • Stops picking, and removes the highlight.

      Returns void