UNPKG

@bookbox/view-html

Version:

Bookbox view for html

17 lines (16 loc) 449 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.setGlobalActions = setGlobalActions; const goto_1 = require("../goto"); const navigation_1 = require("../navigation"); const theme_1 = require("../theme"); /** * global functions */ function setGlobalActions() { window.bbx = { gotoKey: goto_1.gotoKey, setTheme: theme_1.setTheme, getCurrentPage: navigation_1.getCurrentPage, }; }