Class: PhlexUI::Calendar::Days

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex_ui/calendar/days.rb

Constant Summary collapse

BASE_CLASS =
"inline-flex items-center justify-center rounded-md text-sm ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 h-8 w-8 p-0 font-normal aria-selected:opacity-100"

Instance Attribute Summary

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#before_template, #initialize

Constructor Details

This class inherits a constructor from PhlexUI::Base

Instance Method Details

#view_templateObject



7
8
9
10
11
12
# File 'lib/phlex_ui/calendar/days.rb', line 7

def view_template
  render_selected_date_template
  render_today_date_template
  render_current_month_date_template
  render_other_month_date_template
end