class Voom::Presenters::DSL::Components::TimeField
Attributes
config[R]
Public Class Methods
new(**attribs_, &block)
click to toggle source
Calls superclass method
Voom::Presenters::DSL::Components::DatetimeBase::new
# File lib/voom/presenters/dsl/components/time_field.rb, line 8 def initialize(**attribs_, &block) super(type: :time, **attribs_, &block) map_config(:min_time, :min_date) map_config(:max_time, :max_date) merge_config(:time_24hr, true) expand! end