-
Notifications
You must be signed in to change notification settings - Fork 126
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
feat(platform): icon tab bar dynamic content #12428
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for fundamental-ngx ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Visit the preview URL for this PR (updated for commit 0c0fa88): https://fundamental-ngx-gh--pr12428-feat-platfor-icon-ta-o7l5x61w.web.app (expires Thu, 19 Sep 2024 10:32:11 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 41b993ee8e451bd7c6770b342ce142dc886eacff |
selector: '[fdpIconTabBarTitleTemplate], [fdp-icon-tab-bar-title-template]', | ||
standalone: true | ||
}) | ||
export class IconTabTitleDirective {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the purpose of this directive? As far as I can tell, this adds no benefit, we should just let the developer do this instead:
<fdp-icon-tab-bar-tab>
<span>User Defined Title</span>
<div class="tab-container-example">Custom tab content</div>
</fdp-icon-tab-bar-tab>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see my comment about the IconTabTitleDirective
fix(platform): Extend icon tab bar to accept user defined HTML structure as the tab link template
closes #11771
Description