Class Breadcrumbs

Utility per la gestione dei Breadcrumbs.

Hierarchy

  • Breadcrumbs

Index

Methods

Static render

  • Crea una lista di Breadcrumb (compatibili con PageHeader, o con il rendering manuale), a partire dalla location corrente in base ai titoli registrati nel NavigationManager

    Parameters

    Returns object[]

Static replacePatternWithValues

  • replacePatternWithValues(pathname: string, path: string): string
  • Replaces placeholder patterns, i.e. :id, with real values coming from pathname. Necessary since we need to match all paths, even shorter ones, so we can't just blindly use pathname as-is, but we need to extract a part of it.

    todo

    Testing

    Parameters

    • pathname: string

      Real location pathname

    • path: string

      Router path as defined in <Route>

    Returns string

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc