@synergy-design-system/angular
Version:
Angular wrappers for the Synergy Design System
52 lines (49 loc) • 2.33 kB
TypeScript
import * as i0 from '@angular/core';
import { ElementRef, NgZone } from '@angular/core';
import { SynBreadcrumbItem } from '@synergy-design-system/components';
/**
* @summary Breadcrumb Items are used inside [breadcrumbs](/components/breadcrumb) to represent different links.
* @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-breadcrumb-item--docs
* @status stable
* @since 2.0
*
* @slot - The breadcrumb item's label.
* @slot prefix - An optional prefix, usually an icon or icon button.
* @slot suffix - An optional suffix, usually an icon or icon button.
* @slot separator - The separator to use for the breadcrumb item. This will only change the separator for this item. If
* you want to change it for all items in the group, set the separator on `<syn-breadcrumb>` instead.
*
* @csspart base - The component's base wrapper.
* @csspart label - The breadcrumb item's label.
* @csspart prefix - The container that wraps the prefix.
* @csspart suffix - The container that wraps the suffix.
* @csspart separator - The container that wraps the separator.
*/
declare class SynBreadcrumbItemComponent {
nativeElement: SynBreadcrumbItem;
private _ngZone;
constructor(e: ElementRef, ngZone: NgZone);
/**
* Optional URL to direct the user to when the breadcrumb item is activated.
* When set, a link will be rendered
internally.
* When unset, a button will be rendered instead.
*/
set href(v: SynBreadcrumbItem['href']);
get href(): SynBreadcrumbItem['href'];
/**
* Tells the browser where to open the link.
* Only used when `href` is set.
*/
set target(v: SynBreadcrumbItem['target']);
get target(): SynBreadcrumbItem['target'];
/**
* The `rel` attribute to use on the link.
* Only used when `href` is set.
*/
set rel(v: SynBreadcrumbItem['rel']);
get rel(): SynBreadcrumbItem['rel'];
static ɵfac: i0.ɵɵFactoryDeclaration<SynBreadcrumbItemComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SynBreadcrumbItemComponent, "syn-breadcrumb-item", never, { "href": { "alias": "href"; "required": false; }; "target": { "alias": "target"; "required": false; }; "rel": { "alias": "rel"; "required": false; }; }, {}, never, ["*"], true, never>;
}
export { SynBreadcrumbItemComponent };