You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way I think about this is that the directive could expose .reload() method which then could be accesses using local template variable as you suggested and also using @ViewChild(AxLazyElementDirective) right ?
Service could also expose .reload(tag: string) method ?
Reacted by micdomingues, Max and Leo Pripos Marbun
Activity
tomastrajan commentedon Aug 31, 2019
This is going to get so awesome in the end !
felipeplets commentedon Sep 28, 2020
@mohammedzamakhan I'm trying to understand the use case so that it is clear to the contributor that actually implements it.
The use case I'm envisioning for this is something like:
errorTemplatethat can contain a button that enables reloadingSome pseudo code illustrating the example:
So in this case the
mwcButton.retryis the API we would be looking to implement.@mohammedzamakhan @tomastrajan is this what you are thinking in terms of API and ergonomics for this feature?
tomastrajan commentedon Oct 22, 2020
Hi @felipeplets! Thanks for the suggestion.
The way I think about this is that the directive could expose
.reload()method which then could be accesses using local template variable as you suggested and also using@ViewChild(AxLazyElementDirective)right ?Service could also expose
.reload(tag: string)method ?