class Motion::Configuration

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.cr

Instance Method Summary

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


[View source]
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


[View source]