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.10 lib/preact/ref.rb
isomorfeus-preact-10.6.9 lib/preact/ref.rb
isomorfeus-preact-10.6.8 lib/preact/ref.rb
isomorfeus-preact-10.6.7 lib/preact/ref.rb
isomorfeus-preact-10.6.6 lib/preact/ref.rb
isomorfeus-preact-10.6.5 lib/preact/ref.rb
isomorfeus-preact-10.6.4 lib/preact/ref.rb
isomorfeus-preact-10.6.3 lib/preact/ref.rb
isomorfeus-preact-10.6.2 lib/preact/ref.rb
isomorfeus-preact-10.6.1 lib/preact/ref.rb
isomorfeus-preact-10.6.0 lib/preact/ref.rb
isomorfeus-preact-10.5.11 lib/preact/ref.rb
isomorfeus-preact-10.5.10 lib/preact/ref.rb
isomorfeus-preact-10.5.9 lib/preact/ref.rb
isomorfeus-preact-10.5.8 lib/preact/ref.rb
isomorfeus-preact-10.5.7 lib/preact/ref.rb
isomorfeus-preact-10.5.6 lib/preact/ref.rb
isomorfeus-preact-10.5.5 lib/preact/ref.rb
isomorfeus-preact-10.5.4 lib/preact/ref.rb
isomorfeus-preact-10.5.3 lib/preact/ref.rb