Sha256: a4f2d8f7fd5e8bf99a45f1342451e3db77d2d360f94c399a77af3898c65c9fdc

Contents?: true

Size: 407 Bytes

Versions: 14

Compression:

Stored size: 407 Bytes

Contents

module Glimmer
  module SWT
    class EventListenerProxy
      attr_reader :element_proxy, :event, :selector, :delegate

      def initialize(element_proxy:, event:, selector:, delegate:)
        @element_proxy = element_proxy
        @event = event
        @selector = selector
        @delegate = delegate
      end
      
      def unregister
        $document.off(@delegate)
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
glimmer-dsl-opal-0.7.5 lib/glimmer/swt/event_listener_proxy.rb
glimmer-dsl-opal-0.7.4 lib/glimmer/swt/event_listener_proxy.rb
glimmer-dsl-opal-0.7.3 lib/glimmer/swt/event_listener_proxy.rb
glimmer-dsl-opal-0.7.2 lib/glimmer/swt/event_listener_proxy.rb
glimmer-dsl-opal-0.7.1 lib/glimmer/swt/event_listener_proxy.rb
glimmer-dsl-opal-0.7.0 lib/glimmer/swt/event_listener_proxy.rb
glimmer-dsl-opal-0.6.1 lib/glimmer/swt/event_listener_proxy.rb
glimmer-dsl-opal-0.6.0 lib/glimmer/swt/event_listener_proxy.rb
glimmer-dsl-opal-0.5.1 lib/glimmer/swt/event_listener_proxy.rb
glimmer-dsl-opal-0.5.0 lib/glimmer/swt/event_listener_proxy.rb
glimmer-dsl-opal-0.4.0 lib/glimmer/swt/event_listener_proxy.rb
glimmer-dsl-opal-0.3.0 lib/glimmer/swt/event_listener_proxy.rb
glimmer-dsl-opal-0.2.0 lib/glimmer/swt/event_listener_proxy.rb
glimmer-dsl-opal-0.1.0 lib/glimmer/swt/event_listener_proxy.rb