Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 27 for addEventListener (0.21 seconds)

  1. misc/chrome/gophertool/popup.js

        var url = links[i].getAttribute("url");
        if (url)
          links[i].addEventListener("click", function () {
            openURL(this.getAttribute("url"));
          });
      }
    }
    
    window.addEventListener("load", function () {
      addLinks();
      console.log("hacking gopher pop-up loaded.");
      document.getElementById("inputbox").focus();
    });
    
    window.addEventListener("submit", function () {
      console.log("submitting form");
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sun Oct 21 17:05:21 GMT 2012
    - 1020 bytes
    - Click Count (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/FailingCall.kt

      override fun isExecuted(): Boolean = error("unexpected")
    
      override fun isCanceled(): Boolean = error("unexpected")
    
      override fun timeout(): Timeout = error("unexpected")
    
      override fun addEventListener(eventListener: EventListener) = error("unexpected")
    
      override fun <T : Any> tag(type: KClass<T>): T? = error("unexpected")
    
      override fun <T> tag(type: Class<out T>): T? = error("unexpected")
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt

       * that they are not interested in.
       *
       * @see EventListener for semantics and restrictions on listener implementations.
       */
      fun addEventListener(eventListener: EventListener)
    
      /**
       * Returns the tag attached with [type] as a key, or null if no tag is attached with that key.
       *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  4. fastapi/sse.py

                """
            ),
        ] = None
        event: Annotated[
            str | None,
            Doc(
                """
                Optional event type name.
    
                Maps to `addEventListener(event, ...)` on the browser. When omitted,
                the browser dispatches on the generic `message` event.
                """
            ),
        ] = None
        id: Annotated[
            str | None,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  5. src/main/webapp/js/clipboard.min.js

    ,n){var u=n(828);function i(t,e,n,o,r){var i=function(e,n,t,o){return function(t){t.delegateTarget=u(t.target,n),t.delegateTarget&&o.call(e,t)}}.apply(this,arguments);return t.addEventListener(n,i,r),{destroy:function(){t.removeEventListener(n,i,r)}}}t.exports=function(t,e,n,o,r){return"function"==typeof t.addEventListener?i.apply(null,arguments):"function"==typeof n?i.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 12 06:14:02 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

      internal val plansToCancel = CopyOnWriteArrayList<RoutePlanner.Plan>()
    
      private val tags = AtomicReference(originalRequest.tags)
    
      override fun timeout(): Timeout = timeout
    
      override fun addEventListener(eventListener: EventListener) {
        // Atomically replace the current eventListener with a composite one.
        do {
          val previous = this.eventListener
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 12:06:21 GMT 2026
    - 19.5K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

      private fun Call.addEventRecorder(eventRecorder: EventRecorder) {
        when (listenerInstalledOn) {
          ListenerInstalledOn.Call -> {
            addEventListener(eventRecorder.eventListener)
          }
    
          ListenerInstalledOn.Relay -> {
            addEventListener(EventListenerRelay(this, eventRecorder).eventListener)
          }
    
          ListenerInstalledOn.Client -> {} // listener is added elsewhere.
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 70.7K bytes
    - Click Count (0)
  8. src/main/webapp/js/admin/popper.min.js

    ntNode.removeChild(this.popper),this}function A(e){var t=e.ownerDocument;return t?t.defaultView:window}function M(e,t,o,i){var r='BODY'===e.nodeName,p=r?e.ownerDocument.defaultView:e;p.addEventListener(t,o,{passive:!0}),r||M(n(p.parentNode),t,o,i),i.push(p)}function F(e,t,o,i){o.updateBound=i,A(e).addEventListener('resize',o.updateBound,{passive:!0});var r=n(e);return M(r,'scroll',o.updateBound,o.scrollParents),o.scrollElement=r,o.eventsEnabled=!0,o}function I(){this.state.eventsEnabled||(this.s...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 20.7K bytes
    - Click Count (0)
  9. docs/en/docs/js/custom.js

                    resolve();
                } else {
                    img.addEventListener('load', () => {
                        if (img.naturalHeight !== 0) {
                            resolve();
                        } else {
                            reject();
                        }
                    });
                    img.addEventListener('error', reject);
                }
            });
        });
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 17:59:48 GMT 2026
    - 7.7K bytes
    - Click Count (2)
  10. src/main/webapp/js/chat.js

                    }
                }
            });
    
            eventSource.addEventListener('sources', function(e) {
                var data = JSON.parse(e.data);
                if (data.sources && data.sources.length > 0 && messageElement) {
                    addSourcesToMessage(messageElement, data.sources);
                }
            });
    
            eventSource.addEventListener('done', function(e) {
                var data = JSON.parse(e.data);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 01:36:02 GMT 2026
    - 30.6K bytes
    - Click Count (0)
Back to Top