Module: LucidComponent::Mixin

Defined in:
lib/isomorfeus_preact/lucid_component/mixin.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



2
3
4
5
6
7
8
9
10
11
12
# File 'lib/isomorfeus_preact/lucid_component/mixin.rb', line 2

def self.included(base)
  base.include(::Native::Wrapper)
  base.extend(::LucidComponent::NativeComponentConstructor)
  base.include(::Preact::Elements)
  base.extend(::LucidPropDeclaration::Mixin)
  base.include(::Preact::Component::Api)
  base.include(::Preact::Component::Callbacks)
  base.include(::LucidComponent::Api)
  base.include(::LucidComponent::Initializer)
  base.include(::LucidI18n::Mixin) if `(Opal.modules.hasOwnProperty("lucid_i18n/mixin"))`
end