Sha256: 1750cc6a4dce5a081d3ce920b76fa1d1fa70397f0b11d357a7e5a724f7b6856f

Contents?: true

Size: 913 Bytes

Versions: 1

Compression:

Stored size: 913 Bytes

Contents

Clndr.configure do |config|
  config.template = Clndr::Template::Full
  config.weak_offset = false
  config.start_with_month = '2014-11-01'
  config.days_of_the_weak =["П","В", "С","ч","п","СБ","вс"]
  config.click_events do |event|
    event[:click] = 'function(target){}'
    event[:nextMonth]= 'function(mont){}'
    event[:previousMonth]= 'function(month){}'
    event[:onMonthChange]= 'function(month){}'
    event[:today]= 'function(month){}'
  end
  config.targets do |target|
    target[:nextButton]='clndr-next-button'
    target[:previousButton]= 'clndr-previous-button'
    target[:todayButton]= 'clndr-today-button'
    target[:day]= 'day'
    target[:empty]='empty'
  end
  config.show_adjacent_months= true
  config.adjacent_days_change_month= true
  config.done_rendering='function(){}' # or nil
  config.constraints_start= nil
  config.constraints_end= nil


end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
clndr-rails-1.2.5.1 test/dummy/config/initializers/clndr.rb