Work in progress of printing nextmatches, still needs some prettying up & edge case testing

This commit is contained in:
Nathan Gray
2015-01-27 16:26:59 +00:00
parent 789d02a7e0
commit cee521d4cd
5 changed files with 226 additions and 3 deletions

View File

@@ -144,3 +144,20 @@ var et2_IDetachedDOM = new Interface({
});
/**
* Interface for widgets that need to do something special before printing
*/
var et2_IPrint = new Interface({
/**
* Set up for printing
*
* @return {undefined|Deferred} Return a jQuery Deferred object if not done setting up
* (waiting for data)
*/
beforePrint: function() {},
/**
* Reset after printing
*/
afterPrint: function() {}
});