UNPKG

can

Version:

MIT-licensed, client-side, JavaScript framework that makes building rich web applications easy.

18 lines (10 loc) 365 B
@function can.List.prototype.isPending @parent can.List.plugins.promise @signature `list.isPending()` Returns if the [can.List::state state] of the list is pending. @return {Boolean} `true` if the list is pending. `false` if otherwise. @body ## Use var data = new can.Deferred(); var list = new can.List(data); list.isPending() //-> true