UNPKG

@y3krulez/angular-archwizard

Version:

The port of angular-archwizard, supporting IVY and thus being compatible with Angular16+

36 lines 3.43 kB
import { Directive } from '@angular/core'; import * as i0 from "@angular/core"; /** * The `awWizardStepTitle` directive can be used as an alternative to the `stepTitle` input of a [[WizardStep]] * to define the content of a step title inside the navigation bar. * This step title can be freely created and can contain more than only plain text * * ### Syntax * * ```html * <ng-template awWizardStepTitle> * ... * </ng-template> * ``` * * @author Marc Arndt */ export class WizardStepTitleDirective { /** * Constructor * * @param templateRef A reference to the content of the `ng-template` that contains this [[WizardStepTitleDirective]] */ constructor(templateRef) { this.templateRef = templateRef; } } WizardStepTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WizardStepTitleDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); WizardStepTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: WizardStepTitleDirective, selector: "ng-template[awStepTitle], ng-template[awWizardStepTitle]", ngImport: i0 }); i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WizardStepTitleDirective, decorators: [{ type: Directive, args: [{ selector: 'ng-template[awStepTitle], ng-template[awWizardStepTitle]' }] }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } }); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2l6YXJkLXN0ZXAtdGl0bGUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpYi9kaXJlY3RpdmVzL3dpemFyZC1zdGVwLXRpdGxlLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFjLE1BQU0sZUFBZSxDQUFDOztBQUVyRDs7Ozs7Ozs7Oz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