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

#element + document undefined #30

Closed
orpheus opened this issue Oct 4, 2017 · 0 comments
Closed

#element + document undefined #30

orpheus opened this issue Oct 4, 2017 · 0 comments

Comments

@orpheus
Copy link

orpheus commented Oct 4, 2017

This may be a dumb question, but what is #element ? What is its purpose or function?

How would I go about using the following in React? Just throw it in a div?

init(`#element`, {
  // required - for now, only accepting texts
    strings: ['Dead simple animated typing.', 'No dependencies'],
    //optional

Also, when I try to paste in the example code, I get ReferenceError: document is not defined

@orpheus orpheus changed the title #element #element + document undefined Oct 4, 2017
@orpheus orpheus closed this as completed Oct 5, 2017
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

1 participant