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.9.0 lib/preact/ref.rb
isomorfeus-preact-10.8.2 lib/preact/ref.rb
isomorfeus-preact-10.8.1 lib/preact/ref.rb
isomorfeus-preact-10.8.0 lib/preact/ref.rb
isomorfeus-preact-10.7.3 lib/preact/ref.rb
isomorfeus-preact-10.7.2 lib/preact/ref.rb
isomorfeus-preact-10.7.1 lib/preact/ref.rb
isomorfeus-preact-10.7.0 lib/preact/ref.rb
isomorfeus-preact-10.6.62 lib/preact/ref.rb
isomorfeus-preact-10.6.61 lib/preact/ref.rb
isomorfeus-preact-10.6.60 lib/preact/ref.rb
isomorfeus-preact-10.6.59 lib/preact/ref.rb
isomorfeus-preact-10.6.58 lib/preact/ref.rb
isomorfeus-preact-10.6.57 lib/preact/ref.rb
isomorfeus-preact-10.6.56 lib/preact/ref.rb
isomorfeus-preact-10.6.55 lib/preact/ref.rb
isomorfeus-preact-10.6.54 lib/preact/ref.rb
isomorfeus-preact-10.6.53 lib/preact/ref.rb
isomorfeus-preact-10.6.52 lib/preact/ref.rb
isomorfeus-preact-10.6.51 lib/preact/ref.rb