Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add a documentation #18

Open
jankapunkt opened this issue Sep 27, 2017 · 1 comment
Open

Please add a documentation #18

jankapunkt opened this issue Sep 27, 2017 · 1 comment

Comments

@jankapunkt
Copy link

jankapunkt commented Sep 27, 2017

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)

@lalalic
Copy link
Owner

lalalic commented Oct 18, 2021

how's your code looks like?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants