Sha256: 6f559e7e9a185bc54b150bdc9c9f4fd7f977f2128dea3776d54d92428cb6d575
Contents?: true
Size: 513 Bytes
Versions: 4
Compression:
Stored size: 513 Bytes
Contents
module TaoForm module Components class TimePickerComponent < MomentPicker::Base def input_type @input_type ||= :time end def segments @segments ||= [:hour, {separator: ':'}, {name: :minute, step: options[:minute_step]}] end def default_segment @default_segment ||= :hour end def self.component_name :time_picker end private def default_options super.merge({icon: :clock}) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems