Sha256: f92d6629e60a78a528c242527549913e59af2282d36a05b2af8d877d4fb24d9d

Contents?: true

Size: 451 Bytes

Versions: 17

Compression:

Stored size: 451 Bytes

Contents

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
isomorfeus-preact-10.6.32 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.31 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.30 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.29 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.28 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.27 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.26 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.25 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.24 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.23 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.22 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.21 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.20 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.19 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.18 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.17 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.16 lib/isomorfeus_preact/lucid_component/initializer.rb