Class: Anchor::BreadcrumbsComponent

Inherits:
Component
  • Object
show all
Defined in:
app/components/anchor/breadcrumbs_component.rb

Constant Summary

Constants included from ViewHelper

ViewHelper::ANCHOR_HELPERS

Instance Method Summary collapse

Methods inherited from Component

generate_id

Methods included from ViewHelper

#anchor_form_with, #anchor_svg, #deep_blank?, #merge_options, #popover_trigger_attributes

Methods included from FetchOrFallbackHelper

#fetch_or_fallback

Constructor Details

#initialize(label: "Breadcrumb", **kwargs) ⇒ BreadcrumbsComponent

Returns a new instance of BreadcrumbsComponent.



5
6
7
8
9
# File 'app/components/anchor/breadcrumbs_component.rb', line 5

def initialize(label: "Breadcrumb", **kwargs)
  @label = label

  super(**kwargs)
end