Class: Playbook::PbDashboardValue::DashboardValue
- Inherits:
-
Object
- Object
- Playbook::PbDashboardValue::DashboardValue
show all
- Includes:
- Playbook::Props
- Defined in:
- app/pb_kits/playbook/pb_dashboard_value/dashboard_value.rb
Instance Method Summary
collapse
#dark_props, #generate_classname, #generate_classname_without_spacing, #initialize, #prop, #spacing_options, #spacing_props, #spacing_values
Instance Method Details
#classname ⇒ Object
23
24
25
|
# File 'app/pb_kits/playbook/pb_dashboard_value/dashboard_value.rb', line 23
def classname
generate_classname("pb_dashboard_value_kit", align)
end
|
19
20
21
|
# File 'app/pb_kits/playbook/pb_dashboard_value/dashboard_value.rb', line 19
def formatted_stat_value
{ **stat_value, value: stat_value[:value].to_i }
end
|