Closed JEVietti closed 3 years ago
Hi @JEViett I know am replying extremely late, sorry for that. You can write your custom Template, have a look at the documentation and some demos along with code. See if it works for you?
Thanks
Yes, that will work, I needed to update my package for this project, but it seems to be compatible with Angular 9 on 5.5.3. Would you be open to a feature/pull request in the future to provide more fine grained custom templating? I think it would be useful for cases such as mine where I only want to customize the link template and nothing else.
Correct me if this is already possible, but it would be nice if the navigationExtras queryParams were read into the actual
<a>
inside of list-item so that the interaction could all be handled natively by the browser, and not have to be handled just by the angular router. Especially since as far as I have read/tested, the angular router way will not work when opening a new tab and would require extra code to support that kind of interaction.With a possible solution being adding something like this:
[queryParams]="node.navigationExtras?.queryParams">
, to the existing html. Though it does look like you have a better idea coming up for supplying a directive so that we can write our own template for the<a>
tag instead of just whats inside it.