1. Dmitri Lebedev
  2. django-partial-page
  3. Issues
Issue #1 new

API to subscribe to data

Dmitri Lebedev
repo owner created an issue

Client JS should have hooks for other applications to subscribe to data that comes from server.

$(document).bind('partial_data_received', function(data) { console.log(data); });

This will allow the applications to subscribe to JS data that's pushed from the server side.

Comments (0)

  1. Log in to comment