Skip to content

Global functions

f7

The Framework7 app instance for PostalPoint's entire UI, created by new Framework7(). See https://framework7.io/docs/app for details.

Kind: global constant

getPluginFolder([id]) ⇒ string

Get the filesystem path to a plugin's installation folder.

Kind: global function
Returns: string - "/home/user/.config/postalpoint-retail/Default/storage/plugins/...", "C:\Users\user\AppData...", etc

Param Type Description
[id] string Plugin ID. If omitted or empty, will return the parent folder plugins are installed within.

getAppFolder() ⇒ string

Get the filesystem path to the PostalPoint installation folder.

Kind: global function

alert(text, title, [callback])

Display a simple alert-style dialog box.

Kind: global function

Param Type Default Description
text string Body text of the dialog.
title string Dialog title.
[callback] function Function to call when the alert is closed.