Sha256: 7aaf89028011901b87093e12e4fb937e278087a327df30ad2eee6ddc938af5d4
Contents?: true
Size: 502 Bytes
Versions: 1
Compression:
Stored size: 502 Bytes
Contents
require 'voom/presenters/dsl/components/datetime_base' module Voom module Presenters module DSL module Components class TimeField < DatetimeBase attr_reader :config 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 end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
voom-presenters-0.2.0 | lib/voom/presenters/dsl/components/time_field.rb |