Skip to content
Snippets Groups Projects
Select Git revision
  • 432ade3bc0a8a45801a416bf5d13bd91d13c588b
  • main default protected
  • OZG-7985-anfrage-von-landesebene
  • release
  • create-gitlab-pipeline protected
  • 1.5.0
  • 1.4.0
  • 1.3.0
  • 1.2.0
  • 1.1.0
  • 1.0.0
11 results

mapping.proto

Blame
  • link.component.ts 561 B
    import { CommonModule } from '@angular/common';
    import { Component, Input } from '@angular/core';
    import { twMerge } from 'tailwind-merge';
    
    @Component({
      selector: 'ods-link',
      standalone: true,
      imports: [CommonModule],
      template: `<a [target]="openInNewTab ? '_blank' : '_self'" [href]="url" [class]="twMerge('text-text outline-focus', class)">
        <ng-content />
      </a>`,
    })
    export class LinkComponent {
      @Input({ required: true }) url!: string;
      @Input() openInNewTab: boolean = false;
      @Input() class: string = '';
    
      readonly twMerge = twMerge;
    }