Skip to content
Snippets Groups Projects
Select Git revision
  • debug-eakte
  • master default protected
  • dev
  • ckan-2.9
  • refactor-css
  • improve-accessibility
  • fix-get_action-calls
  • summary-collection
  • debug-collections
  • experimental-linked-resources-as-uploads
  • button-text-detail
  • Detailinfo
  • hash
  • URL_Upload
  • URL_Upload_working_BB
  • url_exp
  • ODPSH-550
  • href-for-preview
  • ODPSH-HASH-ALGO
  • Algo
  • v1.61
  • v1.6
  • v1.51
  • v1.5
  • v1.4
  • v1.3
  • v1.2
  • v1.1
  • v1.0
  • v0.1
  • sprint-18
  • sprint11_2
  • sprint10
  • sprint8
  • sprint7
  • sprint6
36 results

fileformats.rdf

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;
    }