Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content Header on click of the title, it triggering the event #1538

Closed
2 tasks done
vamshisai98 opened this issue Oct 25, 2024 · 1 comment
Closed
2 tasks done

Content Header on click of the title, it triggering the event #1538

vamshisai98 opened this issue Oct 25, 2024 · 1 comment
Labels
triage We discuss this topic in our internal weekly

Comments

@vamshisai98
Copy link

Prerequisites

  • I have read the Contributing Guidelines.
  • I have not leaked any internal/restricted information like screenshots, videos, code snippets, links etc.

What happened?

On click of the title of content header component. Event is getting triggered

content-header

What type of frontend framework are you seeing the problem on?

Angular

Which version of iX do you use?

v2.5.0

Code to produce this issue.

<ix-content-header
        (click)="onClickRouteBack()"
        has-back-button="true"
        header-title="Results"
      >
      </ix-content-header>
      
onClickRouteBack() {
    this.router.navigate(['/']);
  }
@vamshisai98 vamshisai98 added the triage We discuss this topic in our internal weekly label Oct 25, 2024
@danielleroux
Copy link
Collaborator

@vamshisai98 that is a expected behaviour every component extends from HTMLElement.

Use the dedicated event backButtonClick (for details look into documentation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage We discuss this topic in our internal weekly
Projects
None yet
Development

No branches or pull requests

2 participants