class Motion::Configuration
- Motion::Configuration
- Reference
- Object
Overview
Main configuration for Motion.cr.
In config/initializers/motion.cr
Motion.configure do |config|
config.render_component_comments = true
end
Defined in:
motion/configuration.crInstance Method Summary
-
#render_component_comments : Bool
If true, 2 comments will be added at rendering signifying the start & end of a component.
-
#render_component_comments=(render_component_comments : Bool)
If true, 2 comments will be added at rendering signifying the start & end of a component.
Instance Method Detail
def render_component_comments : Bool
#
If true, 2 comments will be added at rendering signifying the start & end of a component. Really helpful for debugging.
Defaults to true
def render_component_comments=(render_component_comments : Bool)
#
If true, 2 comments will be added at rendering signifying the start & end of a component. Really helpful for debugging.
Defaults to true