Released version 1.2.0
- new support for History API (from HTML 5)
$configurator->onCompile[] = function ($configurator, $compiler) {
$compiler->addExtension('ajax', new VojtechDobes\NetteAjax\Extension);
};
- dependencies among extensions can be optional
- returned support for native
beforeSend
option - adding
data-ajax-pass
to ajaxified element will prevent killing the original event - fixed compatibility with
$form->addDynamic()
There is also change in events API:
beforeSend
now triggersbefore
eventstart
event is called immediately after start of the request- return value of
start
callback loses any meaning - events
before
andstart
receive same arguments:jqXHR, settings