class Voom::Presenters::DSL::Components::DatetimeField
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/datetime_field.rb, line 8 def initialize(**attribs_, &block) super(type: :datetime, **attribs_, &block) merge_config(:min_date) merge_config(:max_date) merge_config(:min_time) merge_config(:max_time) merge_config(:time_24hr, true) expand! end