Sha256: de087ee62b3cbd7ee772c44e32ef8c345df105936769303c410a3424979d6480
Contents?: true
Size: 488 Bytes
Versions: 15
Compression:
Stored size: 488 Bytes
Contents
module LucidComponent module Initializer def initialize(native_component) @native = native_component @app_store = `Opal.LucidComponent.AppStoreProxy.$new(#{self}, 'props')` @class_store = `Opal.LucidComponent.ClassStoreProxy.$new(#{self}, 'props')` @props = `Opal.React.Component.Props.$new(#@native)` @state = `Opal.React.Component.State.$new(#@native)` @store = `Opal.LucidComponent.InstanceStoreProxy.$new(#{self}, 'props')` end end end
Version data entries
15 entries across 15 versions & 1 rubygems