Skip to main content

Interface: PdfTab

A selectable section for PDF export.

Example​

const tabs = await window.mimeeqApp.actions.getPdfTabs();
console.log(tabs.map(({ id, name }) => ({ value: id, label: name })));

Properties​

id​

id: string

The section identifier used when exporting the PDF.

Example​

const ids = (await window.mimeeqApp.actions.getPdfTabs()).map((tab) => tab.id);

name​

name: string

The section's display name.

Example​

const names = (await window.mimeeqApp.actions.getPdfTabs()).map((tab) => tab.name);

type​

type: TabType | "CONFIGURATION"

The kind of section included in the export.

Example​

const galleries = (await window.mimeeqApp.actions.getPdfTabs()).filter((tab) => tab.type === 'GALLERY');