class

Motion::Configuration

Inherits Reference < Object

Main configuration for Motion.cr.

In config/initializers/motion.cr

Motion.configure do |config|
  config.render_component_comments = true
end

Instance methods

render_component_comments

If true, 2 comments will be added at rendering signifying the start & end of a component. Really helpful for debugging.

Defaults to true

Source
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

Source