New back() helper
markets opened this issue · comments
Marc Anguera commented
Provide back()
helper (under Navigation), but with a fallback url:
back(fallbackUrl = null) {
...
}
Some times, I'd like to use something:
<a href="#" onclick="back('/home')">Back</a>
In case someone visits the page with that button, without a referrer, at least to easily provide a fallback url. It seems useful to me.
What do you think @jfelip937 @araluce @AlexLarra @franpb14?
Francisco José Perejón Barrios commented
It also seems simple to implement. I think it could be good.
Álvaro Fernández-Alonso Araluce commented
Yeah, it makes sense this to have a place in Ralix. Also, I agree with @franpb14, this could be something easy to implement.