Class: Proscenium::Phlex

Inherits:
Phlex::HTML
  • Object
show all
Extended by:
ActiveSupport::Autoload
Includes:
AssetInclusions, CssModules, SourcePath
Defined in:
lib/proscenium/phlex.rb

Direct Known Subclasses

ReactComponent, UI::Component

Defined Under Namespace

Modules: AssetInclusions, CssModules, Sideload Classes: ReactComponent

Class Attribute Summary collapse

Class Method Summary collapse

Methods included from AssetInclusions

#include_assets, #include_javascripts, #include_stylesheets

Methods included from CssModules

#after_template, #before_template, included, #process_attributes

Methods included from CssModule

#class_names, #css_module

Methods included from SourcePath

included

Class Attribute Details

.abstract_classObject

Returns the value of attribute abstract_class.



29
30
31
# File 'lib/proscenium/phlex.rb', line 29

def abstract_class
  @abstract_class
end

Class Method Details

.inherited(child) ⇒ Object



31
32
33
34
35
# File 'lib/proscenium/phlex.rb', line 31

def inherited(child)
  child.prepend Sideload

  super
end

.sideload_assets(value) ⇒ Object



37
38
39
# File 'lib/proscenium/phlex.rb', line 37

def sideload_assets(value)
  self.sideload_assets_options = value
end