docx4js
docx4js copied to clipboard
Please add a documentation
I have some questions:
- Can I pass another source for the docx than just a path (such as File, Blob etc.)
- Is there a debug option? There are no errors thrown to indicate wrong input
- Are there specific things to consider, when using in the browser?
It would be great if you can help me with those questions.
Edit: I wanted to get some information about the object but console.log(docx4js)
only prints
function _class() { // 26
_classCallCheck(this, _class); // 27
// 28
return _possibleConstructorReturn(this, (_class.__proto__ || Object.getPrototypeOf(_class)).apply(this, arguments));
}
When I call the load function then I get just a cryptic message in the promise reject:
TypeError: this.rels is not a function. (In 'this.rels("[Type$=\"" + type + "\"]")', 'this.rels' is undefined)
how's your code looks like?