Closed lm closed 11 months ago
The motivation: we wanna use history plugin, but we don't want it on all links, but we don't also wanna find every single link on the website, so we can disable the history. Much better is to simply turn on the history on links that should be "smarter" :)
Now that I think about it, it might be slightly better to implement this behaviour on the nette.ajax.js
level, not here. What do you guys think?
Well there is data-ajax-off for disabling specific extensions already. :+1: for data-ajax-on. (The naming of both is a bit misleading though, data-ajax-with[out] would be a bit better.)
@vojtech-dobes ping :)
Nicely done!