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

[Feature] set dynamicText by queryParams/public property #3

Closed
b4p3p opened this issue May 5, 2019 · 2 comments
Closed

[Feature] set dynamicText by queryParams/public property #3

b4p3p opened this issue May 5, 2019 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@b4p3p
Copy link

b4p3p commented May 5, 2019

  1. can you set dynamicText by queryParams?

Ex:

this.router.navigate(['/products', 10], { queryParams: { productName: 'My product name' } });

will be 'My product name' in breadcrumb

  1. can you set dynamicText by public property?

Ex:

breadcrumb: [
   { label: '{{CustomText}}',  url: '' }
]

and in component

export class MyComponent {
   ....
   public get CustomText(){
      return this.blabla.CustomProperty
   }
   ....
}
@rajaramtt rajaramtt added enhancement New feature or request good first issue Good for newcomers labels May 5, 2019
@rajaramtt
Copy link
Owner

Yes. I'll try to implement the next release!.

@rajaramtt
Copy link
Owner

Out of the scope, No longer supported by the author this future, If anyone interested, Please submit PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants