Module: ViewComponentScopedCss
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/view_component_scoped_css.rb,
lib/view_component_scoped_css/tag.rb,
lib/view_component_scoped_css/base.rb,
lib/view_component_scoped_css/config.rb,
lib/view_component_scoped_css/loader.rb,
lib/view_component_scoped_css/railtie.rb,
lib/view_component_scoped_css/version.rb,
lib/view_component_scoped_css/compiler.rb,
lib/view_component_scoped_css/current_context.rb
Overview
Provide a style for each view component that can be handled as css in js.
Defined Under Namespace
Modules: Base Classes: Compiler, Config, CurrentContext, Error, Loader, Railtie, Tag
Constant Summary collapse
- VERSION =
"0.2.0"
Class Method Summary collapse
Class Method Details
.config ⇒ Object
26 27 28 |
# File 'lib/view_component_scoped_css.rb', line 26 def self.config @config ||= Config.new end |
.configure {|config| ... } ⇒ Object
22 23 24 |
# File 'lib/view_component_scoped_css.rb', line 22 def self.configure yield config end |