@synergy-design-system/angular
Version:
Angular wrappers for the Synergy Design System
61 lines (57 loc) • 2.71 kB
JavaScript
import * as i0 from '@angular/core';
import { Input, Component } from '@angular/core';
import '@synergy-design-system/components/components/breadcrumb/breadcrumb.js';
// ---------------------------------------------------------------------
// 🔒 AUTOGENERATED @synergy-design-system/angular wrappers for @synergy-design-system/components
// Please do not edit this file directly!
// It will get recreated when running pnpm build.
// ---------------------------------------------------------------------
/**
* @summary Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.
* @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-breadcrumb--docs
* @status stable
* @since 2.0
*
* @slot - One or more breadcrumb items to display.
* @slot separator - The separator to use between breadcrumb items. Works best with `<syn-icon>`.
*
* @dependency syn-icon
*
* @csspart base - The component's base wrapper.
*/
class SynBreadcrumbComponent {
nativeElement;
_ngZone;
constructor(e, ngZone) {
this.nativeElement = e.nativeElement;
this._ngZone = ngZone;
}
/**
* The label to use for the breadcrumb control.
* This will not be shown on the screen, but it will be announced by
screen readers and other assistive devices to provide more context for users.
*/
set label(v) {
this._ngZone.runOutsideAngular(() => (this.nativeElement.label = v));
}
get label() {
return this.nativeElement.label;
}
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.1", ngImport: i0, type: SynBreadcrumbComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.1", type: SynBreadcrumbComponent, isStandalone: true, selector: "syn-breadcrumb", inputs: { label: "label" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.1", ngImport: i0, type: SynBreadcrumbComponent, decorators: [{
type: Component,
args: [{
selector: 'syn-breadcrumb',
standalone: true,
template: '<ng-content></ng-content>',
}]
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { label: [{
type: Input
}] } });
/**
* Generated bundle index. Do not edit.
*/
export { SynBreadcrumbComponent };
//# sourceMappingURL=synergy-design-system-angular-components-breadcrumb.mjs.map