Sha256: fcf2e5545eca3111ddf50c51d7346731119fee978ff20bbb590ce26fec98491e

Contents?: true

Size: 357 Bytes

Versions: 33

Compression:

Stored size: 357 Bytes

Contents

module LucidComponent::Initializer
  def initialize(native_component)
    @native = native_component
    @app_store = LucidComponent::AppStoreProxy.new(@native)
    @class_store = LucidComponent::ClassStoreProxy.new(self.class.to_s, @native)
    @props = `Opal.Preact.Props.$new(#@native)`
    @state = `Opal.Preact.State.$new(#@native)`
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
isomorfeus-preact-10.9.0 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.8.2 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.8.1 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.8.0 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.7.3 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.7.2 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.7.1 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.7.0 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.62 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.61 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.60 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.59 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.58 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.57 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.56 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.55 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.54 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.53 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.52 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.51 lib/isomorfeus_preact/lucid_component/initializer.rb