Method: Playbook::PbNav::Nav#data

Defined in:
app/pb_kits/playbook/pb_nav/nav.rb

#dataObject

[View source]

22
23
24
25
26
27
28
# File 'app/pb_kits/playbook/pb_nav/nav.rb', line 22

def data
  if tabbing
    Hash(prop(:data)).merge(pb_nav_tab: true)
  else
    prop(:data)
  end
end