Mailspring/internal_packages/print/lib/main.es6
Juan Tejada bdfd96fed2 feat(print): Add functionality to print currently focused thread
Summary:
- Adds button inside the message list to print the thread
- Adds cmdctrl-p binding to print thread
- Adds new action and new internal_package to listen to this action.
- Creates a standalone browser window with current thread html, and removes all
collapsed messsages from the print view

Test Plan: - Manual

Reviewers: evan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2310
2015-12-04 18:12:06 -08:00

15 lines
217 B
JavaScript

import Printer from './printer';
let printer = null;
export function activate() {
printer = new Printer();
}
export function deactivate() {
if (printer) printer.deactivate();
}
export function serialize() {
}