feat(md-print): add timestamp footer option
This commit is contained in:
@@ -72,7 +72,7 @@ export function createPageElement(opts: PaginateOptions): {
|
||||
flow.style.width = "100%";
|
||||
page.appendChild(flow);
|
||||
|
||||
if (opts.pageNumbers) {
|
||||
if (opts.pageNumbers || opts.timestamp) {
|
||||
const footer = document.createElement("div");
|
||||
footer.className = "md-print-footer";
|
||||
page.appendChild(footer);
|
||||
|
||||
Reference in New Issue
Block a user