Class: Vime::Ui::Time::TimeProgress

Inherits:
Component
  • Object
show all
Defined in:
app/components/vime/ui/time/time_progress.rb

Instance Method Summary collapse

Instance Method Details

#callObject



12
13
14
# File 'app/components/vime/ui/time/time_progress.rb', line 12

def call
   "vm-time-progress", nil, process_attrs(dom_attrs)
end

#dom_attrsObject



16
17
18
19
20
21
# File 'app/components/vime/ui/time/time_progress.rb', line 16

def dom_attrs
  super.merge({
    always_show_hours: always_show_hours,
    separator: separator,
  })
end