Class: Flowbite::Breadcrumb::Item::Current

Inherits:
Flowbite::Breadcrumb::Item 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::Breadcrumb::Item::Current.new { "Current Page" } %>

Instance Attribute Summary

Attributes inherited from Flowbite::Breadcrumb::Item

#href, #options

Instance Method Summary collapse

Methods inherited from Flowbite::Breadcrumb::Item

#call

Constructor Details

#initialize(**options) ⇒ Current

Returns a new instance of Current.



14
15
16
# File 'app/components/flowbite/breadcrumb/item/current.rb', line 14

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