UNPKG
@bookbox/view-html
Version:
latest (0.5.0)
0.5.0
0.4.1
0.4.0
0.3.0
0.2.0
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Bookbox view for html
@bookbox/view-html
/
build
/
esm
/
init
/
globalActions.js
14 lines
(13 loc)
•
272 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import
{ gotoKey }
from
'../goto'
;
import
{ getCurrentPage }
from
'../navigation'
;
import
{ setTheme }
from
'../theme'
;
/** * global functions */
export
function
setGlobalActions
(
) {
window
.
bbx
= { gotoKey, setTheme, getCurrentPage, }; }