Sha256: d6d26f30d855f9ed20ee669c2546c2d23544d8c991781735131e821f0180e441

Contents?: true

Size: 286 Bytes

Versions: 83

Compression:

Stored size: 286 Bytes

Contents

module Preact
  class Ref
    include ::Native::Wrapper

    def initialize(native)
      @native = native
    end
    
    def is_wrapped_ref
      true
    end

    def current
      `Opal.Preact.native_element_or_component_to_ruby(#@native.current)`
    end
  end
end

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
isomorfeus-preact-10.6.50 lib/preact/ref.rb
isomorfeus-preact-10.6.49 lib/preact/ref.rb
isomorfeus-preact-10.6.48 lib/preact/ref.rb
isomorfeus-preact-10.6.47 lib/preact/ref.rb
isomorfeus-preact-10.6.46 lib/preact/ref.rb
isomorfeus-preact-10.6.45 lib/preact/ref.rb
isomorfeus-preact-10.6.44 lib/preact/ref.rb
isomorfeus-preact-10.6.43 lib/preact/ref.rb
isomorfeus-preact-10.6.42 lib/preact/ref.rb
isomorfeus-preact-10.6.41 lib/preact/ref.rb
isomorfeus-preact-10.6.40 lib/preact/ref.rb
isomorfeus-preact-10.6.39 lib/preact/ref.rb
isomorfeus-preact-10.6.38 lib/preact/ref.rb
isomorfeus-preact-10.6.37 lib/preact/ref.rb
isomorfeus-preact-10.6.36 lib/preact/ref.rb
isomorfeus-preact-10.6.35 lib/preact/ref.rb
isomorfeus-preact-10.6.34 lib/preact/ref.rb
isomorfeus-preact-10.6.33 lib/preact/ref.rb
isomorfeus-preact-10.6.32 lib/preact/ref.rb
isomorfeus-preact-10.6.31 lib/preact/ref.rb