epubjs-reader
epubjs-reader copied to clipboard
Font Size Change
Hi,
I want to implement buttons that increase and decrease font size, I looked through the docs and found the function that changes the font size i.e
rendition.themes.fontSize('100px');
But after running this function, it only shows up when I resize my browser window and the reader refreshes, is there any workaround to this issue
Any help would be appreciated Thanks
window.rendition = window.reader.rendition;
window.rendition.themes.fontSize(size+ "%");
I use it is this way, works withoyr issue