async #88

Closed
finnsson opened this Issue Feb 13, 2013 · 1 comment

1 participant

@finnsson
Owner

Implement pager.async.

Used like

<a data-bind="click: async(someMethod, '/if/ok', '/if/not/ok')>click me</a>

<a data-bind="click: async(someMethod, {path: '../if/ok', params: someArray}, '/if/not/ok')>click me</a>

<a data-bind="click: async(someMethod, '/if/ok', {path: $page, params: {key: 'value', foo: 'bar'} })>click me</a>

where someMethod should return a jQuery promise.

@finnsson
Owner

This is fixed. Docs uploaded.

@finnsson finnsson closed this May 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment