class Playbook::PbTooltip::Tooltip

def classname

def classname
  generate_classname("pb_tooltip_kit", dark_class)
end

def dark_class

def dark_class
  dark ? "dark" : nil
end

def data

def data
  Hash(values[:data]).merge(
    pb_tooltip_kit: true,
    pb_tooltip_position: position,
    pb_tooltip_trigger_element_selector: trigger_element_selector,
    pb_tooltip_trigger_element_id: trigger_element_id,
    pb_tooltip_tooltip_id: tooltip_id,
    pb_tooltip_show_tooltip: true
  )
end