Class: Flowbite::BreadcrumbItem::Current

Inherits:
Flowbite::BreadcrumbItem show all
Defined in:
app/components/flowbite/breadcrumb_item/current.rb

Overview

Renders the current page breadcrumb item. Current items are rendered as non-interactive spans with different styling.

Examples:

Current page item

<%= render Flowbite::BreadcrumbItem::Current.new { "Current Page" } %>

Instance Attribute Summary

Attributes inherited from Flowbite::BreadcrumbItem

#href, #options

Instance Method Summary collapse

Methods inherited from Flowbite::BreadcrumbItem

#call

Constructor Details

#initialize(**options) ⇒ Current

Returns a new instance of Current.



13
14
15
# File 'app/components/flowbite/breadcrumb_item/current.rb', line 13

def initialize(**options)
  super(href: nil, **options)
end