Code Documentation for design-system
  • Code Documentation for design-system
  • Getting started
    • Overview
    • README
    • Dependencies
    • Properties
  • Modules
    • BrandModule
    • Components
      • BrandLogoComponent
      • BrandMarkComponent
    • ButtonsModule
    • Components
      • AppNavButtonComponent
      • BreadcrumbsComponent
      • HelpButtonComponent
      • InfoButtonComponent
      • NavigationButtonComponent
      • NavigationCategoryToggleComponent
      • SocialMediaButtonComponent
      • TextHyperlinkComponent
    • Directives
      • ButtonSizeDirective
      • ButtonToggleSizeDirective
      • ButtonVariantDirective
      • CheckboxErrorVariantDirective
      • CtaButtonDirective
      • InfoButtonActionsDirective
      • InfoButtonTaglineDirective
      • NavigationButtonDescriptionDirective
      • NavigationButtonTaglineDirective
      • NavigationIconDirective
      • PrimaryButtonVariantDirective
      • SecondaryButtonVariantDirective
      • TextButtonDirective
      • TextHyperlinkDirective
    • CardsModule
    • Components
      • ActionCardActionComponent
      • ActionCardComponent
      • GalleryCardComponent
      • ProfileCardComponent
    • ChipsModule
    • Directives
      • ChipSizeDirective
    • ContentTemplatesModule
    • Components
      • AppLabelComponent
      • PageSectionComponent
      • UiSectionComponent
    • ErrorPagesModule
    • Components
      • NotFoundPageComponent
      • RedirectPageComponent
    • ExpansionPanelModule
    • Components
      • ExpansionPanelActionsComponent
      • ExpansionPanelComponent
      • ExpansionPanelHeaderContentComponent
    • FlatCardModule
    • Components
      • AppNavButtonComponent
      • BreadcrumbsComponent
      • HelpButtonComponent
      • InfoButtonComponent
      • NavigationButtonComponent
      • NavigationCategoryToggleComponent
      • SocialMediaButtonComponent
      • TextHyperlinkComponent
    • Directives
      • ButtonSizeDirective
      • ButtonToggleSizeDirective
      • ButtonVariantDirective
      • CheckboxErrorVariantDirective
      • CtaButtonDirective
      • InfoButtonActionsDirective
      • InfoButtonTaglineDirective
      • NavigationButtonDescriptionDirective
      • NavigationButtonTaglineDirective
      • NavigationIconDirective
      • PrimaryButtonVariantDirective
      • SecondaryButtonVariantDirective
      • TextButtonDirective
      • TextHyperlinkDirective
    • IconButtonModule
    • Directives
      • IconButtonSizeDirective
      • IconButtonVariantDirective
    • IconsModule
    • Components
      • IconComponent
    • IndicatorsModule
    • LayoutsModule
    • MessageIndicatorModule
    • Components
      • DangerMessageIndicatorComponent
      • InfoMessageIndicatorComponent
    • NavigationModule
    • Components
      • AppNavButtonComponent
      • BreadcrumbsComponent
      • HelpButtonComponent
      • InfoButtonComponent
      • NavigationButtonComponent
      • NavigationCategoryToggleComponent
      • SocialMediaButtonComponent
      • TextHyperlinkComponent
    • Directives
      • ButtonSizeDirective
      • ButtonToggleSizeDirective
      • ButtonVariantDirective
      • CheckboxErrorVariantDirective
      • CtaButtonDirective
      • InfoButtonActionsDirective
      • InfoButtonTaglineDirective
      • NavigationButtonDescriptionDirective
      • NavigationButtonTaglineDirective
      • NavigationIconDirective
      • PrimaryButtonVariantDirective
      • SecondaryButtonVariantDirective
      • TextButtonDirective
      • TextHyperlinkDirective
    • RichTooltipModule
    • Components
      • RichTooltipActionsComponent
      • RichTooltipContainerComponent
      • RichTooltipContentComponent
      • RichTooltipTaglineComponent
    • Directives
      • RichTooltipCloseDirective
      • RichTooltipDirective
    • ScrollingModule
    • Directives
      • ScrollOverflowFadeDirective
    • TableOfContentsLayoutModule
    • Components
      • TableOfContentsLayoutComponent
      • TableOfContentsLayoutHeaderComponent
    • WorkflowCardModule
    • Components
      • WorkflowCardActionsComponent
      • WorkflowCardComponent
      • WorkflowCardExtraComponent
  • Components
    • ActionCardActionComponent
    • ActionCardComponent
    • ApiCommandComponent
    • AppLabelComponent
    • AppNavButtonComponent
    • ArchivedPageComponent
    • BackButtonBarComponent
    • BrandLogoComponent
    • BrandMarkComponent
    • BreadcrumbsComponent
    • ButtonComponent
    • CardMenuComponent
    • CategoriesComponent
    • CodeBlockComponent
    • CodeBlockGlobalStylesComponent
    • ColorPickerComponent
    • ConsentBannerComponent
    • ContentButtonComponent
    • ContentPageComponent
    • CopyableUrlContainerComponent
    • CountCardComponent
    • CtaBarComponent
    • DangerMessageIndicatorComponent
    • DataViewerComponent
    • DeleteFileButtonComponent
    • DeprecatedWorkflowCardComponent
    • DesktopMenuComponent
    • EndOfResultsIndicatorComponent
    • ErrorIndicatorComponent
    • ExpansionPanelActionsComponent
    • ExpansionPanelComponent
    • ExpansionPanelHeaderContentComponent
    • FilterContainerComponent
    • FlatCardActionsComponent
    • FlatCardComponent
    • FlexContainerComponent
    • FooterComponent
    • FullscreenActionsComponent
    • FullscreenPortalComponent
    • FullscreenPortalContentComponent
    • FundingComponent
    • GalleryCardComponent
    • GoogleMapsComponent
    • GridContainerComponent
    • HeaderComponent
    • HelpButtonComponent
    • HraYoutubePlayerComponent
    • HubmapMenuContentComponent
    • IconComponent
    • ImageComponent
    • InfoButtonComponent
    • InfoMessageIndicatorComponent
    • InfoModalComponent
    • MarkdownComponent
    • MenuContentComponent
    • MenuDemoComponent
    • MobileMenuComponent
    • NavHeaderButtonsComponent
    • NavigationButtonComponent
    • NavigationCategoryComponent
    • NavigationCategoryToggleComponent
    • NavigationItemComponent
    • NoResultsIndicatorComponent
    • NotFoundPageComponent
    • NoticeComponent
    • PageLabelComponent
    • PageSectionBottomSheetComponent
    • PageSectionComponent
    • PlainTooltipStylesComponent
    • PrivacyPreferencesComponent
    • ProfileCardComponent
    • ProgressSpinnerComponent
    • RedirectPageComponent
    • ResultsIndicatorComponent
    • RichTooltipActionsComponent
    • RichTooltipContainerComponent
    • RichTooltipContentComponent
    • RichTooltipTaglineComponent
    • ScrollbarStylesComponent
    • ScrollOverflowFadeStylesComponent
    • SearchFilterComponent
    • SectionLinkComponent
    • ServerErrorPageComponent
    • SiteNavigationComponent
    • SnackbarComponent
    • SocialMediaButtonComponent
    • SoftwareStatusIndicatorComponent
    • StepIndicatorComponent
    • TableBottomSheetComponent
    • TableComponent
    • TableOfContentsComponent
    • TableOfContentsDemoComponent
    • TableOfContentsLayoutComponent
    • TableOfContentsLayoutDemoComponent
    • TableOfContentsLayoutHeaderComponent
    • TextHyperlinkComponent
    • TextHyperlinkGlobalStylesComponent
    • TooltipCardComponent
    • TreeDemoComponent
    • TreeStylesComponent
    • UiSectionComponent
    • VersionedDataTableComponent
    • ViewerCardComponent
    • ViewerMenuComponent
    • VisualButtonComponent
    • WorkflowCardActionsComponent
    • WorkflowCardComponent
    • WorkflowCardExtraComponent
  • Directives
    • BaseButtonVariantDirective
    • ButtonSizeDirective
    • ButtonToggleSizeDirective
    • ButtonVariantDirective
    • CheckboxErrorVariantDirective
    • ChipSizeDirective
    • CtaButtonDirective
    • DensityDirective
    • FullscreenDirective
    • HubmapMenuGroupDirective
    • HubmapMenuItemDirective
    • IconButtonSizeDirective
    • IconButtonVariantDirective
    • IconRowElementDirective
    • InfoButtonActionsDirective
    • InfoButtonTaglineDirective
    • LinkRowElementDirective
    • MarkdownRowElementDirective
    • MenuButtonRowElementDirective
    • MenuGroupDirective
    • MenuItemDirective
    • MenuSubGroupDirective
    • NavigationButtonDescriptionDirective
    • NavigationButtonTaglineDirective
    • NavigationIconDirective
    • NumericRowElementDirective
    • PlainTooltipDirective
    • PrimaryButtonVariantDirective
    • ProgressBarColorDirective
    • RichTooltipCloseDirective
    • RichTooltipContextDirective
    • RichTooltipDirective
    • ScrollOverflowFadeDirective
    • SecondaryButtonVariantDirective
    • SoftwareStatusSizeDirective
    • TextButtonDirective
    • TextHyperlinkDirective
    • TextRowElementDirective
    • TreeSizeDirective
    • ViewOutletDirective
  • Injectables
    • DialogService
    • IconConfigRegistryService
    • PageSectionActivationService
    • PageSectionBottomSheetService
    • PageSectionService
    • PrivacyPreferencesService
    • SnackbarService
    • TableBottomSheetService
  • Interfaces
    • BrandLogo
    • BrandMark
    • BreadcrumbItem
    • CategoryDef
    • CtaConfig
    • DataItem
    • DesignSystemOptions
    • DialogData
    • FilterChip
    • IconConfig
    • IconFeature
    • MenuDemoOption
    • MultiplePageSectionsBottomSheetData
    • NestedNode
    • ObservedElementsDiff
    • PageSectionActivationOptions
    • PageSectionData
    • PageSectionInstance
    • PrivacyPreferencesData
    • RichTooltipController
    • ScrollingGlobals
    • ScrollingOptions
    • SinglePageSectionBottomSheetData
    • SnackbarData
    • TableBottomSheetData
    • TooltipContent
  • Miscellaneous
    • Enums
    • Functions
    • Type aliases
    • Variables
  • Routes
  • Documentation generated using
  • Code Documentation for design-system
  • Getting started
    • Overview
    • README
    • Dependencies
    • Properties
  • Modules
    • BrandModule
    • Components
      • BrandLogoComponent
      • BrandMarkComponent
    • ButtonsModule
    • Components
      • AppNavButtonComponent
      • BreadcrumbsComponent
      • HelpButtonComponent
      • InfoButtonComponent
      • NavigationButtonComponent
      • NavigationCategoryToggleComponent
      • SocialMediaButtonComponent
      • TextHyperlinkComponent
    • Directives
      • ButtonSizeDirective
      • ButtonToggleSizeDirective
      • ButtonVariantDirective
      • CheckboxErrorVariantDirective
      • CtaButtonDirective
      • InfoButtonActionsDirective
      • InfoButtonTaglineDirective
      • NavigationButtonDescriptionDirective
      • NavigationButtonTaglineDirective
      • NavigationIconDirective
      • PrimaryButtonVariantDirective
      • SecondaryButtonVariantDirective
      • TextButtonDirective
      • TextHyperlinkDirective
    • CardsModule
    • Components
      • ActionCardActionComponent
      • ActionCardComponent
      • GalleryCardComponent
      • ProfileCardComponent
    • ChipsModule
    • Directives
      • ChipSizeDirective
    • ContentTemplatesModule
    • Components
      • AppLabelComponent
      • PageSectionComponent
      • UiSectionComponent
    • ErrorPagesModule
    • Components
      • NotFoundPageComponent
      • RedirectPageComponent
    • ExpansionPanelModule
    • Components
      • ExpansionPanelActionsComponent
      • ExpansionPanelComponent
      • ExpansionPanelHeaderContentComponent
    • FlatCardModule
    • Components
      • AppNavButtonComponent
      • BreadcrumbsComponent
      • HelpButtonComponent
      • InfoButtonComponent
      • NavigationButtonComponent
      • NavigationCategoryToggleComponent
      • SocialMediaButtonComponent
      • TextHyperlinkComponent
    • Directives
      • ButtonSizeDirective
      • ButtonToggleSizeDirective
      • ButtonVariantDirective
      • CheckboxErrorVariantDirective
      • CtaButtonDirective
      • InfoButtonActionsDirective
      • InfoButtonTaglineDirective
      • NavigationButtonDescriptionDirective
      • NavigationButtonTaglineDirective
      • NavigationIconDirective
      • PrimaryButtonVariantDirective
      • SecondaryButtonVariantDirective
      • TextButtonDirective
      • TextHyperlinkDirective
    • IconButtonModule
    • Directives
      • IconButtonSizeDirective
      • IconButtonVariantDirective
    • IconsModule
    • Components
      • IconComponent
    • IndicatorsModule
    • LayoutsModule
    • MessageIndicatorModule
    • Components
      • DangerMessageIndicatorComponent
      • InfoMessageIndicatorComponent
    • NavigationModule
    • Components
      • AppNavButtonComponent
      • BreadcrumbsComponent
      • HelpButtonComponent
      • InfoButtonComponent
      • NavigationButtonComponent
      • NavigationCategoryToggleComponent
      • SocialMediaButtonComponent
      • TextHyperlinkComponent
    • Directives
      • ButtonSizeDirective
      • ButtonToggleSizeDirective
      • ButtonVariantDirective
      • CheckboxErrorVariantDirective
      • CtaButtonDirective
      • InfoButtonActionsDirective
      • InfoButtonTaglineDirective
      • NavigationButtonDescriptionDirective
      • NavigationButtonTaglineDirective
      • NavigationIconDirective
      • PrimaryButtonVariantDirective
      • SecondaryButtonVariantDirective
      • TextButtonDirective
      • TextHyperlinkDirective
    • RichTooltipModule
    • Components
      • RichTooltipActionsComponent
      • RichTooltipContainerComponent
      • RichTooltipContentComponent
      • RichTooltipTaglineComponent
    • Directives
      • RichTooltipCloseDirective
      • RichTooltipDirective
    • ScrollingModule
    • Directives
      • ScrollOverflowFadeDirective
    • TableOfContentsLayoutModule
    • Components
      • TableOfContentsLayoutComponent
      • TableOfContentsLayoutHeaderComponent
    • WorkflowCardModule
    • Components
      • WorkflowCardActionsComponent
      • WorkflowCardComponent
      • WorkflowCardExtraComponent
  • Components
    • ActionCardActionComponent
    • ActionCardComponent
    • ApiCommandComponent
    • AppLabelComponent
    • AppNavButtonComponent
    • ArchivedPageComponent
    • BackButtonBarComponent
    • BrandLogoComponent
    • BrandMarkComponent
    • BreadcrumbsComponent
    • ButtonComponent
    • CardMenuComponent
    • CategoriesComponent
    • CodeBlockComponent
    • CodeBlockGlobalStylesComponent
    • ColorPickerComponent
    • ConsentBannerComponent
    • ContentButtonComponent
    • ContentPageComponent
    • CopyableUrlContainerComponent
    • CountCardComponent
    • CtaBarComponent
    • DangerMessageIndicatorComponent
    • DataViewerComponent
    • DeleteFileButtonComponent
    • DeprecatedWorkflowCardComponent
    • DesktopMenuComponent
    • EndOfResultsIndicatorComponent
    • ErrorIndicatorComponent
    • ExpansionPanelActionsComponent
    • ExpansionPanelComponent
    • ExpansionPanelHeaderContentComponent
    • FilterContainerComponent
    • FlatCardActionsComponent
    • FlatCardComponent
    • FlexContainerComponent
    • FooterComponent
    • FullscreenActionsComponent
    • FullscreenPortalComponent
    • FullscreenPortalContentComponent
    • FundingComponent
    • GalleryCardComponent
    • GoogleMapsComponent
    • GridContainerComponent
    • HeaderComponent
    • HelpButtonComponent
    • HraYoutubePlayerComponent
    • HubmapMenuContentComponent
    • IconComponent
    • ImageComponent
    • InfoButtonComponent
    • InfoMessageIndicatorComponent
    • InfoModalComponent
    • MarkdownComponent
    • MenuContentComponent
    • MenuDemoComponent
    • MobileMenuComponent
    • NavHeaderButtonsComponent
    • NavigationButtonComponent
    • NavigationCategoryComponent
    • NavigationCategoryToggleComponent
    • NavigationItemComponent
    • NoResultsIndicatorComponent
    • NotFoundPageComponent
    • NoticeComponent
    • PageLabelComponent
    • PageSectionBottomSheetComponent
    • PageSectionComponent
    • PlainTooltipStylesComponent
    • PrivacyPreferencesComponent
    • ProfileCardComponent
    • ProgressSpinnerComponent
    • RedirectPageComponent
    • ResultsIndicatorComponent
    • RichTooltipActionsComponent
    • RichTooltipContainerComponent
    • RichTooltipContentComponent
    • RichTooltipTaglineComponent
    • ScrollbarStylesComponent
    • ScrollOverflowFadeStylesComponent
    • SearchFilterComponent
    • SectionLinkComponent
    • ServerErrorPageComponent
    • SiteNavigationComponent
    • SnackbarComponent
    • SocialMediaButtonComponent
    • SoftwareStatusIndicatorComponent
    • StepIndicatorComponent
    • TableBottomSheetComponent
    • TableComponent
    • TableOfContentsComponent
    • TableOfContentsDemoComponent
    • TableOfContentsLayoutComponent
    • TableOfContentsLayoutDemoComponent
    • TableOfContentsLayoutHeaderComponent
    • TextHyperlinkComponent
    • TextHyperlinkGlobalStylesComponent
    • TooltipCardComponent
    • TreeDemoComponent
    • TreeStylesComponent
    • UiSectionComponent
    • VersionedDataTableComponent
    • ViewerCardComponent
    • ViewerMenuComponent
    • VisualButtonComponent
    • WorkflowCardActionsComponent
    • WorkflowCardComponent
    • WorkflowCardExtraComponent
  • Directives
    • BaseButtonVariantDirective
    • ButtonSizeDirective
    • ButtonToggleSizeDirective
    • ButtonVariantDirective
    • CheckboxErrorVariantDirective
    • ChipSizeDirective
    • CtaButtonDirective
    • DensityDirective
    • FullscreenDirective
    • HubmapMenuGroupDirective
    • HubmapMenuItemDirective
    • IconButtonSizeDirective
    • IconButtonVariantDirective
    • IconRowElementDirective
    • InfoButtonActionsDirective
    • InfoButtonTaglineDirective
    • LinkRowElementDirective
    • MarkdownRowElementDirective
    • MenuButtonRowElementDirective
    • MenuGroupDirective
    • MenuItemDirective
    • MenuSubGroupDirective
    • NavigationButtonDescriptionDirective
    • NavigationButtonTaglineDirective
    • NavigationIconDirective
    • NumericRowElementDirective
    • PlainTooltipDirective
    • PrimaryButtonVariantDirective
    • ProgressBarColorDirective
    • RichTooltipCloseDirective
    • RichTooltipContextDirective
    • RichTooltipDirective
    • ScrollOverflowFadeDirective
    • SecondaryButtonVariantDirective
    • SoftwareStatusSizeDirective
    • TextButtonDirective
    • TextHyperlinkDirective
    • TextRowElementDirective
    • TreeSizeDirective
    • ViewOutletDirective
  • Injectables
    • DialogService
    • IconConfigRegistryService
    • PageSectionActivationService
    • PageSectionBottomSheetService
    • PageSectionService
    • PrivacyPreferencesService
    • SnackbarService
    • TableBottomSheetService
  • Interfaces
    • BrandLogo
    • BrandMark
    • BreadcrumbItem
    • CategoryDef
    • CtaConfig
    • DataItem
    • DesignSystemOptions
    • DialogData
    • FilterChip
    • IconConfig
    • IconFeature
    • MenuDemoOption
    • MultiplePageSectionsBottomSheetData
    • NestedNode
    • ObservedElementsDiff
    • PageSectionActivationOptions
    • PageSectionData
    • PageSectionInstance
    • PrivacyPreferencesData
    • RichTooltipController
    • ScrollingGlobals
    • ScrollingOptions
    • SinglePageSectionBottomSheetData
    • SnackbarData
    • TableBottomSheetData
    • TooltipContent
  • Miscellaneous
    • Enums
    • Functions
    • Type aliases
    • Variables
  • Routes
  • Documentation generated using
  1. Directives
  2. TextHyperlinkDirective
  • Info
  • Source

File

buttons/text-hyperlink/src/lib/directives/text-hyperlink.directive.ts

Description

Applies hyperlink styles when placed on an tag. Also attaches a click event for analytics.

Metadata

Selector a[hraHyperlink]
HostDirectives ClickEventDirective
 Inputs : hraClickEvent: hraHyperlink 
import { Directive } from '@angular/core';
import { ClickEventDirective } from '@hra-ui/common/analytics';

/**
 * Applies hyperlink styles when placed on an <a> tag.
 * Also attaches a click event for analytics.
 */
@Directive({
  selector: 'a[hraHyperlink]',
  host: {
    class: 'hra-text-hyperlink',
  },
  hostDirectives: [
    {
      directive: ClickEventDirective,
      inputs: ['hraClickEvent: hraHyperlink'],
    },
  ],
})
export class TextHyperlinkDirective {}

results matching ""

    No results matching ""