Component
Components
  • 🏠turbotech-component
  • 🚀Installations
  • 📦Required Package
  • 📦Laravel-Modules Style
  • ________________________________
  • Data Displays
    • Form View
      • Phone Formatted
    • Charts
      • Line Chart
      • Bar Chart
      • Pie Chart
      • Doughnut Chart
      • Polar Area Chart
      • Radar Chart
      • Scatter Chart
    • Stats
      • Trending
      • Simple
      • Brand
  • Elements
    • Buttons
      • Default Button
      • Primary Button
      • Secondary Button
      • Warning Button
      • Danger Button
      • Success Button
    • Forms Input
      • English Name
      • Khmer Name
      • Phone
      • URL
      • Camel URL
      • Email
  • Headings
    • Card Heading
    • Header
  • Layouts
    • Panels
      • Main Card
Powered by GitBook
On this page
  • Params
  • Components Laravel

Was this helpful?

  1. Headings

Header

Main header or Content header

Params

Param
value
Use for

title

Heading title

Title

icon

Icon class name

Display icon

:func

['list', 'grid', 'add', 'excel', 'csv', 'pdf']

onclick function

view

list, grid

view as

new

boolean

new ui false for defualt

Components Laravel

$function = (object)[
    'list'  => "/list",             //  optional
    'grid'  => "/grid",             //  optional
    'add'   => "/grid",             //  optional
    'excel' => "generateCSV('')",   //  optional but required function
    'csv'   => "generateExcel('')", //  optional but required function
    'pdf'   => "previewForm('')"    //  optional but required function
]
<x-heading title="Name Cards" icon="#users" :func="$function" new/>

PreviousCard HeadingNextLayouts

Last updated 1 year ago

Was this helpful?