Skip to content

Released version 1.2.0

Compare
Choose a tag to compare
@vojtech-dobes vojtech-dobes released this 06 Jul 20:25
· 103 commits to master since this release
  • 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 triggers before event
  • start event is called immediately after start of the request
  • return value of start callback loses any meaning
  • events before and start receive same arguments: jqXHR, settings