epub.js icon indicating copy to clipboard operation
epub.js copied to clipboard

Angular

Open AhmadNasary opened this issue 2 years ago • 7 comments

How to use the library in angular? please help me!

AhmadNasary avatar Dec 03 '22 12:12 AhmadNasary

what do you mean by use the library?

dzoibo avatar Dec 19 '22 13:12 dzoibo

how to use ebub.js in angular?

AhmadNasary avatar Dec 20 '22 10:12 AhmadNasary

Hey @AhmadNasary have you got the answer?

aino-pranu avatar Dec 23 '22 06:12 aino-pranu

Use npm install epubjs

or

Add epub.min.js to the scripts sections at angular.json

Declare and object and and use it.

declare let ePub: any;
...
const book = ePub(url || "https://s3.amazonaws.com/moby-dick/moby-dick.epub");

CGarces avatar Feb 12 '23 18:02 CGarces

please send me all implementation code!

AhmadNasary avatar Feb 26 '23 10:02 AhmadNasary

Hey @AhmadNasary have you got the answer?

No! you can see any thing about epub.js implementation in angular

AhmadNasary avatar Feb 26 '23 10:02 AhmadNasary

No! you can see any thing about epub.js implementation in angular

epub is a pure javascript library, use it in the same way than any other javascript library.

CGarces avatar Feb 26 '23 10:02 CGarces