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.30 lib/preact/ref.rb
isomorfeus-preact-10.6.29 lib/preact/ref.rb
isomorfeus-preact-10.6.28 lib/preact/ref.rb
isomorfeus-preact-10.6.27 lib/preact/ref.rb
isomorfeus-preact-10.6.26 lib/preact/ref.rb
isomorfeus-preact-10.6.25 lib/preact/ref.rb
isomorfeus-preact-10.6.24 lib/preact/ref.rb
isomorfeus-preact-10.6.23 lib/preact/ref.rb
isomorfeus-preact-10.6.22 lib/preact/ref.rb
isomorfeus-preact-10.6.21 lib/preact/ref.rb
isomorfeus-preact-10.6.20 lib/preact/ref.rb
isomorfeus-preact-10.6.19 lib/preact/ref.rb
isomorfeus-preact-10.6.18 lib/preact/ref.rb
isomorfeus-preact-10.6.17 lib/preact/ref.rb
isomorfeus-preact-10.6.16 lib/preact/ref.rb
isomorfeus-preact-10.6.15 lib/preact/ref.rb
isomorfeus-preact-10.6.14 lib/preact/ref.rb
isomorfeus-preact-10.6.13 lib/preact/ref.rb
isomorfeus-preact-10.6.12 lib/preact/ref.rb
isomorfeus-preact-10.6.11 lib/preact/ref.rb