page.open() you can use the
di.getService('page').open(url, method, data, context);
context parameter is an object and one of the properties you can specify is
trasition, which has the same semantics as the
data-transition attribute, so you can specify a selector or a list of comma-separated selectors of element(s) you wish to animate, or
false to disable transitions altogether for the request.
ajax service itself doesn't itself trigger transitions - its only responsibility is sending the actual HTTP request, it doesn't know anything about transitions and such, so
ajax.post() directly should never trigger a transition. If it does, well, that's something I'd like to know about! :-)